[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201908311702.5O9hh5oJ%lkp@intel.com>
Date: Sat, 31 Aug 2019 17:38:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: kbuild-all@...org,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Uwe Kleine-König <uwe@...ine-koenig.org>,
Petr Mladek <pmladek@...e.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joe Perches <joe@...ches.com>, Juergen Gross <jgross@...e.com>,
linux-kernel@...r.kernel.org,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: Re: [PATCH] printf: add support for printing symbolic error codes
Hi Rasmus,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc6 next-20190830]
[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/Rasmus-Villemoes/printf-add-support-for-printing-symbolic-error-codes/20190831-162013
config: x86_64-randconfig-b002-201934 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:0:0:
include/linux/errcode.h: In function 'errcode':
>> include/linux/errcode.h:10:9: error: 'NULL' undeclared (first use in this function)
return NULL;
^~~~
include/linux/errcode.h:10:9: note: each undeclared identifier is reported only once for each function it appears in
vim +/NULL +10 include/linux/errcode.h
4
5 #ifdef CONFIG_SYMBOLIC_ERRCODE
6 const char *errcode(int code);
7 #else
8 static inline const char *errcode(int code)
9 {
> 10 return NULL;
11 }
12 #endif
13
---
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" (37666 bytes)
Powered by blists - more mailing lists