Re: [pm:linux-next 151/172] include/linux/ctype.h:15:12: error: expected ';', ',' or ')' before numeric constant
From: Rafael J. Wysocki <hidden>
Date: 2015-06-16 21:07:41
On Tuesday, June 16, 2015 08:39:11 AM kbuild test robot wrote:
--vkogqOf2sHV7VnPd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next head: 5b58fe3a9afa62089c4d6a99b5a6a77cede5be9b commit: b6197b93fa4bcba9313cc415934e3fe27e2db9b0 [151/172] arm64 : Introduce support for ACPI _CCA object config: arm64-allyesconfig (attached as .config) 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 git checkout b6197b93fa4bcba9313cc415934e3fe27e2db9b0 # save the attached .config to linux build tree make.cross ARCH=arm64 All error/warnings (new ones prefixed by >>): In file included from include/acpi/platform/aclinux.h:74:0, from include/acpi/platform/acenv.h:173, from include/acpi/acpi.h:56, from include/linux/acpi.h:37, from arch/arm64/include/asm/dma-mapping.h:21, from include/linux/dma-mapping.h:86, from include/linux/skbuff.h:34, from include/crypto/algapi.h:18, from crypto/asymmetric_keys/rsa.c:16:quoted
quoted
include/linux/ctype.h:15:12: error: expected ';', ',' or ')' before numeric constant#define _X 0x40 /* hex digit */ ^ crypto/asymmetric_keys/rsa.c:123:47: note: in expansion of macro '_X' static int RSA_I2OSP(MPI x, size_t xLen, u8 **_X) ^ crypto/asymmetric_keys/rsa.c: In function 'RSA_verify_signature':quoted
quoted
crypto/asymmetric_keys/rsa.c:256:2: error: implicit declaration of function 'RSA_I2OSP' [-Werror=implicit-function-declaration]ret = RSA_I2OSP(m, k, &EM); ^ cc1: some warnings being treated as errors vim +15 include/linux/ctype.h ^1da177e Linus Torvalds 2005-04-16 1 #ifndef _LINUX_CTYPE_H ^1da177e Linus Torvalds 2005-04-16 2 #define _LINUX_CTYPE_H ^1da177e Linus Torvalds 2005-04-16 3 ^1da177e Linus Torvalds 2005-04-16 4 /* ^1da177e Linus Torvalds 2005-04-16 5 * NOTE! This ctype does not handle EOF like the standard C ^1da177e Linus Torvalds 2005-04-16 6 * library is required to. ^1da177e Linus Torvalds 2005-04-16 7 */ ^1da177e Linus Torvalds 2005-04-16 8 ^1da177e Linus Torvalds 2005-04-16 9 #define _U 0x01 /* upper */ ^1da177e Linus Torvalds 2005-04-16 10 #define _L 0x02 /* lower */ ^1da177e Linus Torvalds 2005-04-16 11 #define _D 0x04 /* digit */ ^1da177e Linus Torvalds 2005-04-16 12 #define _C 0x08 /* cntrl */ ^1da177e Linus Torvalds 2005-04-16 13 #define _P 0x10 /* punct */ ^1da177e Linus Torvalds 2005-04-16 14 #define _S 0x20 /* white space (space/lf/tab) */ ^1da177e Linus Torvalds 2005-04-16 @15 #define _X 0x40 /* hex digit */ ^1da177e Linus Torvalds 2005-04-16 16 #define _SP 0x80 /* hard space (0x20) */ ^1da177e Linus Torvalds 2005-04-16 17 7707e61c André Goddard Rosa 2009-12-14 18 extern const unsigned char _ctype[]; ^1da177e Linus Torvalds 2005-04-16 19 ^1da177e Linus Torvalds 2005-04-16 20 #define __ismask(x) (_ctype[(int)(unsigned char)(x)]) ^1da177e Linus Torvalds 2005-04-16 21 ^1da177e Linus Torvalds 2005-04-16 22 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) ^1da177e Linus Torvalds 2005-04-16 23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) :::::: The code at line 15 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds [off-list ref] :::::: CC: Linus Torvalds [off-list ref] --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
Any chance to have a look at this, please?