[ammarfaizi2-block:axboe/linux-block/m1/2022-02-19 434/552] include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for 'apple_rtkit_poll'

From: kernel test robot
Date: Mon Feb 21 2022 - 04:34:42 EST


tree: https://github.com/ammarfaizi2/linux-block axboe/linux-block/m1/2022-02-19
head: b781e0ccdc0c9a931571d15db09d45b7258b9905
commit: 493f6321556155242b30f79a6aa6afa58d5ff28d [434/552] WIP: nvme-apple: add initial Apple SoC NVMe driver
config: h8300-randconfig-r025-20220221 (https://download.01.org/0day-ci/archive/20220221/202202211757.0kgIweOT-lkp@xxxxxxxxx/config)
compiler: h8300-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/ammarfaizi2/linux-block/commit/493f6321556155242b30f79a6aa6afa58d5ff28d
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block axboe/linux-block/m1/2022-02-19
git checkout 493f6321556155242b30f79a6aa6afa58d5ff28d
# 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=h8300 SHELL=/bin/bash drivers/nvme/host/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

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)
| ^~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NFSD_V2_ACL
Depends on NETWORK_FILESYSTEMS && NFSD
Selected by
- NFSD_V3_ACL && NETWORK_FILESYSTEMS


vim +/apple_rtkit_poll +223 include/linux/soc/apple/rtkit.h

aee0bc1199b4a8 Hector Martin 2022-02-08 222
d47d01d475b6a9 Hector Martin 2022-02-08 @223 int apple_rtkit_poll(struct apple_rtkit *rtk)
d47d01d475b6a9 Hector Martin 2022-02-08 224 {
d47d01d475b6a9 Hector Martin 2022-02-08 225 return -ENODEV;
d47d01d475b6a9 Hector Martin 2022-02-08 226 }
d47d01d475b6a9 Hector Martin 2022-02-08 227

:::::: The code at line 223 was first introduced by commit
:::::: d47d01d475b6a9678964a7bcd5566378902185f7 soc: apple: rtkit: Add recv_message_early callback and apple_rtkit_poll

:::::: TO: Hector Martin <marcan@xxxxxxxxx>
:::::: CC: Hector Martin <marcan@xxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx