Hi Andy,
I love your patch! Yet something to improve:
[auto build test ERROR on balbi-usb/next]
[also build test ERROR on mkp-scsi/for-next linus/master asm-generic/master v5.6-rc5
next-20200312]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Andy-Shevchenko/asm-generic-Prov...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: s390-randconfig-a001-20200312 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from ./arch/s390/include/generated/asm/unaligned.h:1,
from lib/decompress_unlz4.c:19:
include/asm-generic/unaligned.h: In function 'get_unaligned_be24':
> include/asm-generic/unaligned.h:51:14: error: 'p'
undeclared (first use in this function); did you mean 'up'?
51 |
return (u32)p[0] << 16 | (u32)p[1] << 8 | (u32)p[2];
| ^
| up
include/asm-generic/unaligned.h:51:14: note: each undeclared identifier is reported
only once for each function it appears in
--
In file included from ./arch/s390/include/generated/asm/unaligned.h:1,
from lib/sha1.c:13:
include/asm-generic/unaligned.h: In function 'get_unaligned_be24':
> include/asm-generic/unaligned.h:51:14: error: 'p'
undeclared (first use in this function)
51 | return (u32)p[0] << 16 |
(u32)p[1] << 8 | (u32)p[2];
| ^
include/asm-generic/unaligned.h:51:14: note: each undeclared identifier is reported
only once for each function it appears in
vim +/p +51 include/asm-generic/unaligned.h
48
49 static inline u32 get_unaligned_be24(const u8 *buf)
50 {
51 return (u32)p[0] << 16 | (u32)p[1] << 8 | (u32)p[2];
52 }
53
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org