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 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: arc-randconfig-a001-20200312 (attached as .config)
compiler: arc-elf-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=arc
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/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from include/asm-generic/hardirq.h:13,
from ./arch/arc/include/generated/asm/hardirq.h:1,
from include/linux/hardirq.h:9,
from include/linux/interrupt.h:11,
from arch/arc/kernel/asm-offsets.c:8:
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
make[2]: *** [scripts/Makefile.build:101: arch/arc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1112: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
14 real 3 user 7 sys 75.72% cpu make prepare
vim +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