[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202260047.AMTP3O8K-lkp@intel.com>
Date: Sat, 26 Feb 2022 02:34:00 +0800
From: kernel test robot <lkp@...el.com>
To: Conor Dooley <conor.dooley@...rochip.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Nicolas Ferre <nicolas.ferre@...rochip.com>
Subject: [at91:at91-soc 6/6]
drivers/soc/microchip/mpfs-sys-controller.c:76:6: warning: no previous
prototype for 'mpfs_sys_controller_put'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git at91-soc
head: d0054a470c33902f5ae88835ed8a8ecc3cf8faa4
commit: d0054a470c33902f5ae88835ed8a8ecc3cf8faa4 [6/6] soc: add microchip polarfire soc system controller
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220226/202202260047.AMTP3O8K-lkp@intel.com/config)
compiler: sh4-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://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git/commit/?id=d0054a470c33902f5ae88835ed8a8ecc3cf8faa4
git remote add at91 https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git
git fetch --no-tags at91 at91-soc
git checkout d0054a470c33902f5ae88835ed8a8ecc3cf8faa4
# 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=sh SHELL=/bin/bash drivers/soc/microchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/soc/microchip/mpfs-sys-controller.c:76:6: warning: no previous prototype for 'mpfs_sys_controller_put' [-Wmissing-prototypes]
76 | void mpfs_sys_controller_put(void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/mpfs_sys_controller_put +76 drivers/soc/microchip/mpfs-sys-controller.c
75
> 76 void mpfs_sys_controller_put(void *data)
77 {
78 struct mpfs_sys_controller *sys_controller = data;
79
80 kref_put(&sys_controller->consumers, mpfs_sys_controller_delete);
81 }
82 EXPORT_SYMBOL(mpfs_sys_controller_put);
83
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists