linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Alexander Potapenko <glider@google.com>
Cc: kbuild-all@01.org, adech.fo@gmail.com, cl@linux.com,
	dvyukov@google.com, akpm@linux-foundation.org,
	ryabinin.a.a@gmail.com, rostedt@goodmis.org,
	iamjoonsoo.kim@lge.com, js1304@gmail.com, kcc@google.com,
	kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: [PATCH v3 3/7] mm, kasan: Added GFP flags to KASAN API
Date: Fri, 26 Feb 2016 21:51:05 +0800	[thread overview]
Message-ID: <201602262125.gAr4bUqq%fengguang.wu@intel.com> (raw)
In-Reply-To: <932d7597a4347a5c586438824cccc4656f4ea47f.1456492360.git.glider@google.com>

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

Hi Alexander,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.5-rc5]
[cannot apply to next-20160226]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Alexander-Potapenko/SLAB-support-for-KASAN/20160226-213301
config: alpha-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   In file included from lib/parser.c:12:0:
   include/linux/slab.h: In function 'kmem_cache_alloc_trace':
>> include/linux/slab.h:370:2: error: too few arguments to function 'kasan_kmalloc'
     kasan_kmalloc(s, ret, size);
     ^
   In file included from include/linux/slab.h:118:0,
                    from lib/parser.c:12:
   include/linux/kasan.h:97:20: note: declared here
    static inline void kasan_kmalloc(struct kmem_cache *s, const void *object,
                       ^
   In file included from lib/parser.c:12:0:
   include/linux/slab.h: In function 'kmem_cache_alloc_node_trace':
   include/linux/slab.h:381:2: error: too few arguments to function 'kasan_kmalloc'
     kasan_kmalloc(s, ret, size);
     ^
   In file included from include/linux/slab.h:118:0,
                    from lib/parser.c:12:
   include/linux/kasan.h:97:20: note: declared here
    static inline void kasan_kmalloc(struct kmem_cache *s, const void *object,
                       ^

vim +/kasan_kmalloc +370 include/linux/slab.h

f1b6eb6e6 Christoph Lameter 2013-09-04  364  #else /* CONFIG_TRACING */
f1b6eb6e6 Christoph Lameter 2013-09-04  365  static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache *s,
f1b6eb6e6 Christoph Lameter 2013-09-04  366  		gfp_t flags, size_t size)
f1b6eb6e6 Christoph Lameter 2013-09-04  367  {
0316bec22 Andrey Ryabinin   2015-02-13  368  	void *ret = kmem_cache_alloc(s, flags);
0316bec22 Andrey Ryabinin   2015-02-13  369  
0316bec22 Andrey Ryabinin   2015-02-13 @370  	kasan_kmalloc(s, ret, size);
0316bec22 Andrey Ryabinin   2015-02-13  371  	return ret;
f1b6eb6e6 Christoph Lameter 2013-09-04  372  }
f1b6eb6e6 Christoph Lameter 2013-09-04  373  

:::::: The code at line 370 was first introduced by commit
:::::: 0316bec22ec95ea2faca6406437b0b5950553b7c mm: slub: add kernel address sanitizer support for slub allocator

:::::: TO: Andrey Ryabinin <a.ryabinin@samsung.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 45062 bytes --]

  reply	other threads:[~2016-02-26 13:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26 13:30 [PATCH v3 0/7] SLAB support for KASAN Alexander Potapenko
2016-02-26 13:30 ` [PATCH v3 1/7] kasan: Modify kmalloc_large_oob_right(), add kmalloc_pagealloc_oob_right() Alexander Potapenko
2016-02-26 13:30 ` [PATCH v3 2/7] mm, kasan: SLAB support Alexander Potapenko
2016-02-26 14:30   ` kbuild test robot
2016-02-26 13:30 ` [PATCH v3 3/7] mm, kasan: Added GFP flags to KASAN API Alexander Potapenko
2016-02-26 13:51   ` kbuild test robot [this message]
2016-02-26 13:30 ` [PATCH v3 4/7] arch, ftrace: For KASAN put hard/soft IRQ entries into separate sections Alexander Potapenko
2016-02-26 17:45   ` Steven Rostedt
2016-02-26 13:30 ` [PATCH v3 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB Alexander Potapenko
2016-02-26 13:30 ` [PATCH v3 6/7] kasan: Test fix: Warn if the UAF could not be detected in kmalloc_uaf2 Alexander Potapenko
2016-02-26 13:30 ` [PATCH v3 7/7] mm: kasan: Initial memory quarantine implementation Alexander Potapenko
2016-02-26 14:02   ` kbuild 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=201602262125.gAr4bUqq%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=adech.fo@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=dvyukov@google.com \
    --cc=glider@google.com \
    --cc=iamjoonsoo.kim@lge.com \
    --cc=js1304@gmail.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=kbuild-all@01.org \
    --cc=kcc@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rostedt@goodmis.org \
    --cc=ryabinin.a.a@gmail.com \
    /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).