mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sven Peter <sven@svenpeter.dev>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Hector Martin <marcan@marcan.st>
Subject: [asahilinux:asahi 28/174] include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for 'apple_rtkit_poll'
Date: Fri, 18 Mar 2022 12:16:56 +0800	[thread overview]
Message-ID: <202203181210.tL0yqraP-lkp@intel.com> (raw)

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@intel.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@marcan.st>
:::::: CC: Hector Martin <marcan@marcan.st>

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

                 reply	other threads:[~2022-03-18  4:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202203181210.tL0yqraP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcan@marcan.st \
    --cc=sven@svenpeter.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®