[ogabbay:habanalabs-next 24/27] drivers/misc/habanalabs/gaudi2/gaudi2.c:3837:5: sparse: sparse: symbol 'gaudi2_set_engine_cores' was not declared. Should it be static?

From: kernel test robot
Date: Tue Aug 09 2022 - 09:52:00 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git habanalabs-next
head: f34913141b3cb6da65860212be46960e97f4d44b
commit: 464bb4bbd5a316a10895bba40021b84a0cd6258b [24/27] habanalabs/gaudi2: new API to control engine cores running mode
config: i386-randconfig-s001-20220808 (https://download.01.org/0day-ci/archive/20220809/202208092119.nTjk3pCL-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git/commit/?id=464bb4bbd5a316a10895bba40021b84a0cd6258b
git remote add ogabbay https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git
git fetch --no-tags ogabbay habanalabs-next
git checkout 464bb4bbd5a316a10895bba40021b84a0cd6258b
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/misc/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

sparse warnings: (new ones prefixed by >>)
>> drivers/misc/habanalabs/gaudi2/gaudi2.c:3837:5: sparse: sparse: symbol 'gaudi2_set_engine_cores' was not declared. Should it be static?

--
0-DAY CI Kernel Test Service
https://01.org/lkp