All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Hector Martin <marcan@marcan.st>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	linux-kernel@vger.kernel.org
Subject: [ammarfaizi2-block:axboe/linux-block/m1-test 340/382] include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for function 'apple_rtkit_poll'
Date: Wed, 16 Feb 2022 12:50:28 +0800	[thread overview]
Message-ID: <202202161241.peuSiTA3-lkp@intel.com> (raw)

tree:   https://github.com/ammarfaizi2/linux-block axboe/linux-block/m1-test
head:   5adfbb595194191bad98c47447ddbee7d3b60b8f
commit: 11c140423f34e589a6390d378267811426f82984 [340/382] soc: apple: rtkit: Add recv_message_early callback and apple_rtkit_poll
config: arm64-randconfig-r003-20220216 (https://download.01.org/0day-ci/archive/20220216/202202161241.peuSiTA3-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0e628a783b935c70c80815db6c061ec84f884af5)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/ammarfaizi2/linux-block/commit/11c140423f34e589a6390d378267811426f82984
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block axboe/linux-block/m1-test
        git checkout 11c140423f34e589a6390d378267811426f82984
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 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 function 'apple_rtkit_poll' [-Wmissing-prototypes]
   int apple_rtkit_poll(struct apple_rtkit *rtk)
       ^
   include/linux/soc/apple/rtkit.h:223:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int apple_rtkit_poll(struct apple_rtkit *rtk)
   ^
   static 
   1 warning generated.


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

   222	
 > 223	int apple_rtkit_poll(struct apple_rtkit *rtk)
   224	{
   225		return -ENODEV;
   226	}
   227	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ammarfaizi2-block:axboe/linux-block/m1-test 340/382] include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for function 'apple_rtkit_poll'
Date: Wed, 16 Feb 2022 12:50:28 +0800	[thread overview]
Message-ID: <202202161241.peuSiTA3-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2270 bytes --]

tree:   https://github.com/ammarfaizi2/linux-block axboe/linux-block/m1-test
head:   5adfbb595194191bad98c47447ddbee7d3b60b8f
commit: 11c140423f34e589a6390d378267811426f82984 [340/382] soc: apple: rtkit: Add recv_message_early callback and apple_rtkit_poll
config: arm64-randconfig-r003-20220216 (https://download.01.org/0day-ci/archive/20220216/202202161241.peuSiTA3-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0e628a783b935c70c80815db6c061ec84f884af5)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/ammarfaizi2/linux-block/commit/11c140423f34e589a6390d378267811426f82984
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block axboe/linux-block/m1-test
        git checkout 11c140423f34e589a6390d378267811426f82984
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 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 function 'apple_rtkit_poll' [-Wmissing-prototypes]
   int apple_rtkit_poll(struct apple_rtkit *rtk)
       ^
   include/linux/soc/apple/rtkit.h:223:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int apple_rtkit_poll(struct apple_rtkit *rtk)
   ^
   static 
   1 warning generated.


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

   222	
 > 223	int apple_rtkit_poll(struct apple_rtkit *rtk)
   224	{
   225		return -ENODEV;
   226	}
   227	

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

             reply	other threads:[~2022-02-16  4:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16  4:50 kernel test robot [this message]
2022-02-16  4:50 ` [ammarfaizi2-block:axboe/linux-block/m1-test 340/382] include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for function 'apple_rtkit_poll' kernel test robot

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=202202161241.peuSiTA3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gwml@vger.gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=marcan@marcan.st \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.