mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Coly Li <colyli@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [colyli-bcache:nvdimm-meta 14/16] drivers/md/bcache/nvmpg.c:103:5: warning: no previous prototype for 'bkey_offset_to_nvmpg_ns_id'
Date: Wed, 6 Jul 2022 06:01:09 +0800	[thread overview]
Message-ID: <202207060515.oVvT5Qjx-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git nvdimm-meta
head:   5c8259ab2129816fc49fd6d060206ba61b0594d1
commit: 1a39b34e981ca6086a904c5522d700e149240c3f [14/16] bcache: add helper routines to convert bkey and nvmpg offset
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220706/202207060515.oVvT5Qjx-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.3.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/colyli/linux-bcache.git/commit/?id=1a39b34e981ca6086a904c5522d700e149240c3f
        git remote add colyli-bcache https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git
        git fetch --no-tags colyli-bcache nvdimm-meta
        git checkout 1a39b34e981ca6086a904c5522d700e149240c3f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/md/bcache/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/md/bcache/nvmpg.c:103:5: warning: no previous prototype for 'bkey_offset_to_nvmpg_ns_id' [-Wmissing-prototypes]
     103 | int bkey_offset_to_nvmpg_ns_id(unsigned long bkey_offset)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/bkey_offset_to_nvmpg_ns_id +103 drivers/md/bcache/nvmpg.c

   102	
 > 103	int bkey_offset_to_nvmpg_ns_id(unsigned long bkey_offset)
   104	{
   105		return (bkey_offset >> BCH_BKEY_OFFSET_BITS) &
   106			BCH_BKEY_OFFSET_NS_ID_MASK;
   107	}
   108	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-07-05 22:02 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=202207060515.oVvT5Qjx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=colyli@suse.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®