* [arnd-playground:randconfig-5.13 492/585] drivers/mtd/maps/tsunami_flash.c:108:1: warning: type defaults to 'int' in declaration of 'module_init'
@ 2021-06-02 22:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-02 22:38 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3758 bytes --]
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.13
head: 36fc4b7a9bf27491b6165cd5e546e41e0a7290ae
commit: d2a47213321e508c8df6d27363fafe4d9a43d262 [492/585] Revert "[SUBMITTED 20210125] usb: host: ehci-tegra: fix Kconfig depencies"
config: alpha-randconfig-r025-20210602 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=d2a47213321e508c8df6d27363fafe4d9a43d262
git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground randconfig-5.13
git checkout d2a47213321e508c8df6d27363fafe4d9a43d262
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/mtd/maps/tsunami_flash.c: In function 'tsunami_flash_read8':
drivers/mtd/maps/tsunami_flash.c:21:13: error: implicit declaration of function 'tsunami_tig_readb'; did you mean 'tsunami_readb'? [-Werror=implicit-function-declaration]
21 | val.x[0] = tsunami_tig_readb(offset);
| ^~~~~~~~~~~~~~~~~
| tsunami_readb
drivers/mtd/maps/tsunami_flash.c: In function 'tsunami_flash_write8':
drivers/mtd/maps/tsunami_flash.c:27:2: error: implicit declaration of function 'tsunami_tig_writeb'; did you mean 'tsunami_writeb'? [-Werror=implicit-function-declaration]
27 | tsunami_tig_writeb(value.x[0], offset);
| ^~~~~~~~~~~~~~~~~~
| tsunami_writeb
drivers/mtd/maps/tsunami_flash.c: At top level:
drivers/mtd/maps/tsunami_flash.c:108:1: warning: data definition has no type or storage class
108 | module_init(init_tsunami_flash);
| ^~~~~~~~~~~
>> drivers/mtd/maps/tsunami_flash.c:108:1: warning: type defaults to 'int' in declaration of 'module_init' [-Wimplicit-int]
drivers/mtd/maps/tsunami_flash.c:108:1: warning: parameter names (without types) in function declaration
drivers/mtd/maps/tsunami_flash.c:109:1: warning: data definition has no type or storage class
109 | module_exit(cleanup_tsunami_flash);
| ^~~~~~~~~~~
>> drivers/mtd/maps/tsunami_flash.c:109:1: warning: type defaults to 'int' in declaration of 'module_exit' [-Wimplicit-int]
drivers/mtd/maps/tsunami_flash.c:109:1: warning: parameter names (without types) in function declaration
drivers/mtd/maps/tsunami_flash.c:89:19: warning: 'init_tsunami_flash' defined but not used [-Wunused-function]
89 | static int __init init_tsunami_flash(void)
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +108 drivers/mtd/maps/tsunami_flash.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 107
^1da177e4c3f41 Linus Torvalds 2005-04-16 @108 module_init(init_tsunami_flash);
^1da177e4c3f41 Linus Torvalds 2005-04-16 @109 module_exit(cleanup_tsunami_flash);
:::::: The code at line 108 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39403 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-02 22:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 22:38 [arnd-playground:randconfig-5.13 492/585] drivers/mtd/maps/tsunami_flash.c:108:1: warning: type defaults to 'int' in declaration of 'module_init' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.