[l1k:smsc95xx_5.17 279/887] drivers/char/broadcom/rpivid-mem.c:52: warning: expecting prototype for rpivid(). Prototype was for DRIVER_NAME() instead

kernel test robot
2022-04-08T09:18:47Z

Hi popcornmix,

First bad commit (maybe != root cause):

tree: https://github.com/l1k/linux smsc95xx_5.17
head: 05d68ced287b30f62f18f95b5476135ef669804a
commit: 369c3a505f84640f4c10f4caf67c22bf5f9b1d56 [279/887] char: Add broadcom char drivers back to build files
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220408/202204081732.FRe9Lg4m-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.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://github.com/l1k/linux/commit/369c3a505f84640f4c10f4caf67c22bf5f9b1d56
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout 369c3a505f84640f4c10f4caf67c22bf5f9b1d56
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/char/broadcom/ drivers/gpu/drm/panel/

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/char/broadcom/rpivid-mem.c:52: warning: expecting prototype for rpivid(). Prototype was for DRIVER_NAME() instead
--
>> drivers/char/broadcom/bcm2835-gpiomem.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* GPIO memory device driver

vim +52 drivers/char/broadcom/rpivid-mem.c

8900af03fcebd0 Jonathan Bell 2019-05-09 51
8900af03fcebd0 Jonathan Bell 2019-05-09 @52 #define DRIVER_NAME "rpivid-mem"
8900af03fcebd0 Jonathan Bell 2019-05-09 53 #define DEVICE_MINOR 0
8900af03fcebd0 Jonathan Bell 2019-05-09 54

:::::: The code at line 52 was first introduced by commit
:::::: 8900af03fcebd0065244b505c394ce12164624d8 drivers: char: add chardev for mmap'ing the RPiVid control registers

:::::: TO: Jonathan Bell <jonathan@raspberrypi.org>
:::::: CC: Dom Cobley <popcornmix@gmail.com>

--
0-DAY CI Kernel Test Service