From: kernel test robot <lkp@intel.com>
To: Andrey Konovalov <andreyknvl@google.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 5068/5074] mm/kasan/common.c:89:14: warning: no previous prototype for function '__kasan_never_merge'
Date: Wed, 11 Nov 2020 20:46:59 +0800 [thread overview]
Message-ID: <202011112055.s6EamDkJ-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3e14f70c05cda4794901ed8f976de3a88deebcc0
commit: 622c9ff2b804a1de896e757f8fe3a71fcef2941b [5068/5074] kasan, mm: allow cache merging with no metadata
config: x86_64-randconfig-a003-20201111 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 874b0a0b9db93f5d3350ffe6b5efda2d908415d0)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=622c9ff2b804a1de896e757f8fe3a71fcef2941b
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 622c9ff2b804a1de896e757f8fe3a71fcef2941b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=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/kasan/common.c:89:14: warning: no previous prototype for function '__kasan_never_merge' [-Wmissing-prototypes]
slab_flags_t __kasan_never_merge(slab_flags_t flags)
^
mm/kasan/common.c:89:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
slab_flags_t __kasan_never_merge(slab_flags_t flags)
^
static
1 warning generated.
vim +/__kasan_never_merge +89 mm/kasan/common.c
84
85 /*
86 * Only allow cache merging when stack collection is disabled and no metadata
87 * is present.
88 */
> 89 slab_flags_t __kasan_never_merge(slab_flags_t flags)
90 {
91 if (kasan_stack_collection_enabled())
92 return flags;
93 return flags & ~SLAB_KASAN;
94 }
95
---
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: 26710 bytes --]
reply other threads:[~2020-11-11 12:47 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=202011112055.s6EamDkJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=andreyknvl@google.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).