[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201712011049.7tjFbGGf%fengguang.wu@intel.com>
Date: Fri, 1 Dec 2017 11:01:57 +0800
From: kbuild test robot <lkp@...el.com>
To: js1304@...il.com
Cc: kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>, kasan-dev@...glegroups.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Namhyung Kim <namhyung@...nel.org>,
Wengang Wang <wen.gang.wang@...cle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>
Subject: Re: [PATCH 15/18] mm/vchecker: pass allocation caller address to
vchecker hook
Hi Joonsoo,
I love your patch! Yet something to improve:
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.15-rc1 next-20171130]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/js1304-gmail-com/introduce-a-new-tool-valid-access-checker/20171201-090908
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-s0-201748 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from include/linux/crypto.h:24:0,
from arch/x86/kernel/asm-offsets.c:9:
include/linux/slab.h: In function 'kmem_cache_alloc_trace':
>> include/linux/slab.h:424:2: error: implicit declaration of function 'vchecker_kmalloc' [-Werror=implicit-function-declaration]
vchecker_kmalloc(s, ret, size, _THIS_IP_);
^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +/vchecker_kmalloc +424 include/linux/slab.h
416
417 #else /* CONFIG_TRACING */
418 static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache *s,
419 gfp_t flags, size_t size)
420 {
421 void *ret = kmem_cache_alloc(s, flags);
422
423 kasan_kmalloc(s, ret, size, flags);
> 424 vchecker_kmalloc(s, ret, size, _THIS_IP_);
425 return ret;
426 }
427
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (28245 bytes)
Powered by blists - more mailing lists