[lkml]   [2022]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectdrivers/bus/imx-weim.c:373:23: sparse: sparse: symbol 'weim_of_notifier' was not declared. Should it be static?
tree: master
head: be2d3ecedd9911fbfd7e55cc9ceac5f8b79ae4cf
commit: e6cb5408289f4202f4088731a4ac98c7ffaedb9d bus: imx-weim: add DT overlay support for WEIM bus
date: 6 weeks ago
config: arm64-randconfig-s031-20220403 (
compiler: aarch64-linux-gcc (GCC) 11.2.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
git remote add linus
git fetch --no-tags linus master
git checkout e6cb5408289f4202f4088731a4ac98c7ffaedb9d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/bus/ drivers/firmware/meson/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

sparse warnings: (new ones prefixed by >>)
>> drivers/bus/imx-weim.c:373:23: sparse: sparse: symbol 'weim_of_notifier' was not declared. Should it be static?

vim +/weim_of_notifier +373 drivers/bus/imx-weim.c

> 373 struct notifier_block weim_of_notifier = {
374 .notifier_call = of_weim_notify,
375 };

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-04-03 16:08    [W:0.028 / U:3.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site