* drivers/platform/x86/socwatch/sw_trace_notifier_provider.c:1405:6: sparse: sparse: symbol 'sw_handle_wakelock_i' was not declared. Should it be static?
@ 2022-07-26 11:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-26 11:42 UTC (permalink / raw)
To: Manisha Chinthapally; +Cc: kbuild-all, linux-kernel, Faycal Benmlih
Hi Manisha,
First bad commit (maybe != root cause):
tree: https://github.com/mchinth/linux sep_socwatch_linux_5_10
head: c55df4a2b60fc7c6c4d00fd9f9fb447087833513
commit: 4a8adda8065c4c6944ffedd3025605c845c262a5 SEP/SOCWATCH resolve build errors after rebasing to linux v5.6-rc3
date: 1 year, 10 months ago
config: x86_64-randconfig-s021 (https://download.01.org/0day-ci/archive/20220726/202207261924.uOL8Ab8K-lkp@intel.com/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://github.com/mchinth/linux/commit/4a8adda8065c4c6944ffedd3025605c845c262a5
git remote add mchinth https://github.com/mchinth/linux
git fetch --no-tags mchinth sep_socwatch_linux_5_10
git checkout 4a8adda8065c4c6944ffedd3025605c845c262a5
# 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=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/platform/x86/socwatch/sw_trace_notifier_provider.c:1405:6: sparse: sparse: symbol 'sw_handle_wakelock_i' was not declared. Should it be static?
drivers/platform/x86/socwatch/sw_trace_notifier_provider.c:1634:67: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int flags @@ got restricted gfp_t @@
drivers/platform/x86/socwatch/sw_trace_notifier_provider.c:1634:67: sparse: expected unsigned int flags
drivers/platform/x86/socwatch/sw_trace_notifier_provider.c:1634:67: sparse: got restricted gfp_t
vim +/sw_handle_wakelock_i +1405 drivers/platform/x86/socwatch/sw_trace_notifier_provider.c
d605aabab41663c Jon Moeller 2018-11-13 @1405 void sw_handle_wakelock_i(int cpu, struct sw_trace_notifier_data *node,
:::::: The code at line 1405 was first introduced by commit
:::::: d605aabab41663c9be9e8c549042933189adbf2f platform/x86: add sep and socwatch drivers without socperf.
:::::: TO: Jon Moeller <jon.moeller@intel.com>
:::::: CC: Faycal Benmlih <faycal.benmlih@intel.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-26 11:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 11:42 drivers/platform/x86/socwatch/sw_trace_notifier_provider.c:1405:6: sparse: sparse: symbol 'sw_handle_wakelock_i' was not declared. Should it be static? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®