mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [axboe-block:misc-next 3/3] mm/slab_common.c:1326:5: warning: no previous prototype for 'should_failslab'
Date: Sun, 19 Sep 2021 02:02:12 +0800	[thread overview]
Message-ID: <202109190208.nV1lWVOR-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git misc-next
head:   43d923f7b1db8b930041fd2d3fe174991592a6da
commit: 43d923f7b1db8b930041fd2d3fe174991592a6da [3/3] mm: don't call should_failslab() for !CONFIG_FAILSLAB
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=43d923f7b1db8b930041fd2d3fe174991592a6da
        git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
        git fetch --no-tags axboe-block misc-next
        git checkout 43d923f7b1db8b930041fd2d3fe174991592a6da
        # save the attached .config to linux build tree
        make W=1 ARCH=um SUBARCH=x86_64

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 >>):

>> mm/slab_common.c:1326:5: warning: no previous prototype for 'should_failslab' [-Wmissing-prototypes]
    1326 | int should_failslab(struct kmem_cache *s, gfp_t gfpflags)
         |     ^~~~~~~~~~~~~~~


vim +/should_failslab +1326 mm/slab_common.c

4f6923fbb352d1 Howard McLauchlan 2018-04-05  1325  
4f6923fbb352d1 Howard McLauchlan 2018-04-05 @1326  int should_failslab(struct kmem_cache *s, gfp_t gfpflags)

:::::: The code at line 1326 was first introduced by commit
:::::: 4f6923fbb352d126659cabe34806cff75c7b5ea0 mm: make should_failslab always available for fault injection

:::::: TO: Howard McLauchlan <hmclauchlan@fb.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 9645 bytes --]

                 reply	other threads:[~2021-09-18 18: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=202109190208.nV1lWVOR-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=axboe@kernel.dk \
    --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®