tree:
https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
mpam/snapshot/v5.16
head: 364c1c42b229912132e1615c2ce15be7154e2156
commit: 166780f7cb6bac22a4707a368a2580bc6899e38f [91/137] arm_mpam: Add probe/remove for
mpam msc driver and kbuild boiler plate
config: arm64-allyesconfig
(
https://download.01.org/0day-ci/archive/20220126/202201261848.Ojsmqjmk-lk...)
compiler: aarch64-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/morse/linux.git/commit/?i...
git remote add morse
https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
git fetch --no-tags morse mpam/snapshot/v5.16
git checkout 166780f7cb6bac22a4707a368a2580bc6899e38f
# 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=arm64 SHELL=/bin/bash drivers/platform/mpam/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/platform/mpam/mpam_devices.c:230:5: warning: no previous
prototype for 'mpam_msc_drv_remove' [-Wmissing-prototypes]
230 | int
mpam_msc_drv_remove(struct platform_device *pdev)
| ^~~~~~~~~~~~~~~~~~~
vim +/mpam_msc_drv_remove +230 drivers/platform/mpam/mpam_devices.c
229
230 int mpam_msc_drv_remove(struct platform_device *pdev)
231 {
232 struct mpam_msc *msc = platform_get_drvdata(pdev);
233
234 if (!msc)
235 return 0;
236
237 mutex_lock(&mpam_list_lock);
238 mpam_num_msc--;
239 platform_set_drvdata(pdev, NULL);
240 list_del_rcu(&msc->glbl_list);
241 synchronize_rcu();
242 mutex_unlock(&mpam_list_lock);
243
244 return 0;
245 }
246
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org