Re: [PATCH] kasan: Respect /proc/sys/kernel/traceoff_on_warning

From: kbuild test robot
Date: Wed Jan 25 2017 - 10:34:26 EST

Hi Peter,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.10-rc5 next-20170125]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: git:// master
config: x86_64-randconfig-x008-201704 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

mm/kasan/report.c: In function 'kasan_report':
>> mm/kasan/report.c:303:2: error: implicit declaration of function 'disable_trace_on_warning' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +/disable_trace_on_warning +303 mm/kasan/report.c

297 {
298 struct kasan_access_info info;
300 if (likely(!kasan_report_enabled()))
301 return;
> 303 disable_trace_on_warning();
305 info.access_addr = (void *)addr;
306 info.access_size = size;

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip