[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203181210.tL0yqraP-lkp@intel.com>
Date: Fri, 18 Mar 2022 12:16:56 +0800
From: kernel test robot <lkp@...el.com>
To: Sven Peter <sven@...npeter.dev>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Hector Martin <marcan@...can.st>
Subject: [asahilinux:asahi 28/174] include/linux/soc/apple/rtkit.h:223:5:
warning: no previous prototype for 'apple_rtkit_poll'
tree: https://github.com/AsahiLinux/linux asahi
head: c1fcb91bbcc8fd1b1f874e45f55cbba682351f3c
commit: 73ad3599aa16b102655fbd9aa1576ae3c63466a3 [28/174] WIP: nvme-apple: add initial Apple SoC NVMe driver
config: powerpc-randconfig-m031-20220318 (https://download.01.org/0day-ci/archive/20220318/202203181210.tL0yqraP-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/AsahiLinux/linux/commit/73ad3599aa16b102655fbd9aa1576ae3c63466a3
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux asahi
git checkout 73ad3599aa16b102655fbd9aa1576ae3c63466a3
# 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/nvme/host/
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 >>):
In file included from drivers/nvme/host/apple.c:32:
>> include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for 'apple_rtkit_poll' [-Wmissing-prototypes]
223 | int apple_rtkit_poll(struct apple_rtkit *rtk)
| ^~~~~~~~~~~~~~~~
vim +/apple_rtkit_poll +223 include/linux/soc/apple/rtkit.h
b0aec24ea7a8e79 Hector Martin 2022-02-08 222
16b8a4a8997d359 Hector Martin 2022-02-08 @223 int apple_rtkit_poll(struct apple_rtkit *rtk)
16b8a4a8997d359 Hector Martin 2022-02-08 224 {
16b8a4a8997d359 Hector Martin 2022-02-08 225 return -ENODEV;
16b8a4a8997d359 Hector Martin 2022-02-08 226 }
16b8a4a8997d359 Hector Martin 2022-02-08 227
:::::: The code at line 223 was first introduced by commit
:::::: 16b8a4a8997d359639caf9b641cea8466e68c717 soc: apple: rtkit: Add recv_message_early callback and apple_rtkit_poll
:::::: TO: Hector Martin <marcan@...can.st>
:::::: CC: Hector Martin <marcan@...can.st>
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists