[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606090310.QZjXVJvE%fengguang.wu@intel.com>
Date: Thu, 9 Jun 2016 03:23:38 +0800
From: kbuild test robot <lkp@...el.com>
To: Alexander Potapenko <glider@...gle.com>
Cc: kbuild-all@...org, adech.fo@...il.com, cl@...ux.com,
dvyukov@...gle.com, akpm@...ux-foundation.org, rostedt@...dmis.org,
iamjoonsoo.kim@....com, js1304@...il.com, kcc@...gle.com,
aryabinin@...tuozzo.com, kuthonuzo.luruo@....com,
kasan-dev@...glegroups.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm, kasan: switch SLUB to stackdepot, enable memory
quarantine for SLUB
Hi,
[auto build test ERROR on v4.7-rc2]
[cannot apply to next-20160608]
[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/Alexander-Potapenko/mm-kasan-switch-SLUB-to-stackdepot-enable-memory-quarantine-for-SLUB/20160609-024216
config: parisc-c3000_defconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
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=parisc
All errors (new ones prefixed by >>):
mm/slub.c: In function 'calculate_sizes':
>> mm/slub.c:3357:24: error: passing argument 2 of 'kasan_cache_create' from incompatible pointer type [-Werror=incompatible-pointer-types]
kasan_cache_create(s, &size, &s->flags);
^
In file included from include/linux/slab.h:127:0,
from mm/slub.c:18:
include/linux/kasan.h:91:20: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'long unsigned int *'
static inline void kasan_cache_create(struct kmem_cache *cache,
^
cc1: some warnings being treated as errors
vim +/kasan_cache_create +3357 mm/slub.c
3351 s->red_left_pad = sizeof(void *);
3352 s->red_left_pad = ALIGN(s->red_left_pad, s->align);
3353 size += s->red_left_pad;
3354 }
3355 #endif
3356
> 3357 kasan_cache_create(s, &size, &s->flags);
3358
3359 /*
3360 * SLUB stores one object immediately after another beginning from
---
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/octet-stream" (6322 bytes)
Powered by blists - more mailing lists