Re: [PATCH 1/3] isystem: trim/fixup stdarg.h and other headers

kernel test robot
2021-08-02T00:22:34Z

[-- Attachment #1: Type: text/plain, Size: 4296 bytes --]

Hi Alexey,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on powerpc/next]
[also build test ERROR on linuxtv-media/master linus/master v5.14-rc3 next-20210730]
[cannot apply to uml/linux-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Alexey-Dobriyan/isystem-trim-fixup-stdarg-h-and-other-headers/20210802-041553
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/f3863b25ccfb7c85602695bb13517c7f4e75cd23
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Alexey-Dobriyan/isystem-trim-fixup-stdarg-h-and-other-headers/20210802-041553
git checkout f3863b25ccfb7c85602695bb13517c7f4e75cd23
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the linux-review/Alexey-Dobriyan/isystem-trim-fixup-stdarg-h-and-other-headers/20210802-041553 HEAD 68fed7fc2569ffbc882f0a36ecb4095d953de63c builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

In file included from crypto/aegis128-neon-inner.c:18:
>> include/linux/types.h:37:24: error: conflicting types for 'uintptr_t'
37 | typedef unsigned long uintptr_t;
| ^~~~~~~~~
In file included from /opt/cross/gcc-10.3.0-nolibc/arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/10.3.0/include/stdint.h:11,
from /opt/cross/gcc-10.3.0-nolibc/arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/10.3.0/include/arm_fp16.h:34,
from /opt/cross/gcc-10.3.0-nolibc/arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/10.3.0/include/arm_neon.h:41,
from crypto/aegis128-neon-inner.c:11:
/opt/cross/gcc-10.3.0-nolibc/arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/10.3.0/include/stdint-gcc.h:86:26: note: previous declaration of 'uintptr_t' was here
86 | typedef __UINTPTR_TYPE__ uintptr_t;
| ^~~~~~~~~
crypto/aegis128-neon-inner.c:134:6: warning: no previous prototype for 'crypto_aegis128_init_neon' [-Wmissing-prototypes]
134 | void crypto_aegis128_init_neon(void *state, const void *key, const void *iv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
crypto/aegis128-neon-inner.c:164:6: warning: no previous prototype for 'crypto_aegis128_update_neon' [-Wmissing-prototypes]
164 | void crypto_aegis128_update_neon(void *state, const void *msg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto/aegis128-neon-inner.c:221:6: warning: no previous prototype for 'crypto_aegis128_encrypt_chunk_neon' [-Wmissing-prototypes]
221 | void crypto_aegis128_encrypt_chunk_neon(void *state, void *dst, const void *src,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto/aegis128-neon-inner.c:270:6: warning: no previous prototype for 'crypto_aegis128_decrypt_chunk_neon' [-Wmissing-prototypes]
270 | void crypto_aegis128_decrypt_chunk_neon(void *state, void *dst, const void *src,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto/aegis128-neon-inner.c:316:5: warning: no previous prototype for 'crypto_aegis128_final_neon' [-Wmissing-prototypes]
316 | int crypto_aegis128_final_neon(void *state, void *tag_xor,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/uintptr_t +37 include/linux/types.h

^1da177e4c3f41 Linus Torvalds 2005-04-16 36
142956af525002 Al Viro 2007-10-29 @37 typedef unsigned long uintptr_t;
142956af525002 Al Viro 2007-10-29 38

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 78442 bytes --]