Re: [PATCH v3 2/7] Split up struct warn_args

From: kbuild test robot
Date: Tue Jul 26 2016 - 21:16:23 EST


Hi,

[auto build test ERROR on next-20160726]
[also build test ERROR on v4.7]
[cannot apply to stable/master linus/master linux/master v4.7-rc7 v4.7-rc6 v4.7-rc5]
[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/Emese-Revfy/Introduce-the-initify-gcc-plugin/20160727-084514
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
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=tile

All errors (new ones prefixed by >>):

kernel/panic.c: In function 'warn_slowpath_null':
>> kernel/panic.c:544:2: error: incompatible type for argument 7 of '__warn'
kernel/panic.c:478:6: note: expected 'va_list' but argument is of type 'void *'

vim +/__warn +544 kernel/panic.c

538 va_end(args);
539 }
540 EXPORT_SYMBOL(warn_slowpath_fmt_taint);
541
542 void warn_slowpath_null(const char *file, int line)
543 {
> 544 __warn(file, line, __builtin_return_address(0), TAINT_WARN, NULL, NULL, NULL);
545 }
546 EXPORT_SYMBOL(warn_slowpath_null);
547 #endif

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

Attachment: .config.gz
Description: Binary data