linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Desaulniers <ndesaulniers@google.com>
To: Arnd Bergmann <arnd@arndb.de>, Masahiro Yamada <masahiroy@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Alex Shi <alexs@kernel.org>,
	Miguel Ojeda <ojeda@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	kernel test robot <lkp@intel.com>
Subject: Re: [masahiroy:for-next 3/5] lib/raid6/neon1.c:39:9: warning: mixing declarations and code is incompatible with standards before C99
Date: Thu, 10 Mar 2022 10:03:20 -0800	[thread overview]
Message-ID: <CAKwvOdkDnZfbG6TKqe6VVzcNBcm=6efDA5m9i5ORuSGk=PjxYw@mail.gmail.com> (raw)
In-Reply-To: <202203101914.axpeuY5Y-lkp@intel.com>

On Thu, Mar 10, 2022 at 3:40 AM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
> head:   cf4a68247a204c9d46768fabaf7de68a39d8b7c9
> commit: 6992f0b3f0fd879b31095263986ba1aedb27c83b [3/5] Kbuild: move to -std=gnu11
> config: arm64-randconfig-r026-20220310 (https://download.01.org/0day-ci/archive/20220310/202203101914.axpeuY5Y-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 276ca87382b8f16a65bddac700202924228982f6)
> 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
>         # install arm64 cross compiling tool for clang build
>         # apt-get install binutils-aarch64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?id=6992f0b3f0fd879b31095263986ba1aedb27c83b
>         git remote add masahiroy https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
>         git fetch --no-tags masahiroy for-next
>         git checkout 6992f0b3f0fd879b31095263986ba1aedb27c83b
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash lib/raid6/
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
> >> lib/raid6/neon1.c:39:9: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return vshlq_n_u8(v, 1);
>                   ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'

^ this header is generated by clang. We'll fix it in clang.
https://github.com/ClangBuiltLinux/linux/issues/1603

>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:48:20: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return (unative_t)vshrq_n_s8((int8x16_t)v, 7);
>                              ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25303:13: note: expanded from macro 'vshrq_n_s8'
>      int8x16_t __ret; \
>                ^
>    lib/raid6/neon1.c:56:6: warning: no previous prototype for function 'raid6_neon1_gen_syndrome_real' [-Wmissing-prototypes]
>    void raid6_neon1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>         ^
>    lib/raid6/neon1.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    void raid6_neon1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>    ^
>    static
>    lib/raid6/neon1.c:117:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:118:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:126:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:127:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 3);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:133:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 6);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:134:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 2);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon1.c:86:6: warning: no previous prototype for function 'raid6_neon1_xor_syndrome_real' [-Wmissing-prototypes]
>    void raid6_neon1_xor_syndrome_real(int disks, int start, int stop,
>         ^
>    lib/raid6/neon1.c:86:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    void raid6_neon1_xor_syndrome_real(int disks, int start, int stop,
>    ^
>    static
>    10 warnings generated.
> --
> >> lib/raid6/neon2.c:39:9: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return vshlq_n_u8(v, 1);
>                   ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:48:20: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return (unative_t)vshrq_n_s8((int8x16_t)v, 7);
>                              ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25303:13: note: expanded from macro 'vshrq_n_s8'
>      int8x16_t __ret; \
>                ^
>    lib/raid6/neon2.c:56:6: warning: no previous prototype for function 'raid6_neon2_gen_syndrome_real' [-Wmissing-prototypes]
>    void raid6_neon2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>         ^
>    lib/raid6/neon2.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    void raid6_neon2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>    ^
>    static
>    lib/raid6/neon2.c:138:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:139:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w21 = vshrq_n_u8(wq1, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:140:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:141:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w11 = vshlq_n_u8(wq1, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:151:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:152:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w21 = vshrq_n_u8(wq1, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:153:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 3);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:154:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w11 = vshlq_n_u8(wq1, 3);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:162:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 6);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:163:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w21 = vshrq_n_u8(wq1, 6);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:164:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 2);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:165:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w11 = vshlq_n_u8(wq1, 2);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon2.c:97:6: warning: no previous prototype for function 'raid6_neon2_xor_syndrome_real' [-Wmissing-prototypes]
>    void raid6_neon2_xor_syndrome_real(int disks, int start, int stop,
>         ^
>    lib/raid6/neon2.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    void raid6_neon2_xor_syndrome_real(int disks, int start, int stop,
>    ^
>    static
>    16 warnings generated.
> --
> >> lib/raid6/neon4.c:39:9: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return vshlq_n_u8(v, 1);
>                   ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:48:20: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return (unative_t)vshrq_n_s8((int8x16_t)v, 7);
>                              ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25303:13: note: expanded from macro 'vshrq_n_s8'
>      int8x16_t __ret; \
>                ^
>    lib/raid6/neon4.c:56:6: warning: no previous prototype for function 'raid6_neon4_gen_syndrome_real' [-Wmissing-prototypes]
>    void raid6_neon4_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>         ^
>    lib/raid6/neon4.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    void raid6_neon4_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>    ^
>    static
>    lib/raid6/neon4.c:180:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:181:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w21 = vshrq_n_u8(wq1, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:182:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w22 = vshrq_n_u8(wq2, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:183:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w23 = vshrq_n_u8(wq3, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:184:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:185:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w11 = vshlq_n_u8(wq1, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:186:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w12 = vshlq_n_u8(wq2, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:187:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w13 = vshlq_n_u8(wq3, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:201:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:202:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w21 = vshrq_n_u8(wq1, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:203:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w22 = vshrq_n_u8(wq2, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:204:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w23 = vshrq_n_u8(wq3, 5);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:205:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 3);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon4.c:206:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w11 = vshlq_n_u8(wq1, 3);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
> --
> >> lib/raid6/neon8.c:39:9: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return vshlq_n_u8(v, 1);
>                   ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:48:20: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>            return (unative_t)vshrq_n_s8((int8x16_t)v, 7);
>                              ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25303:13: note: expanded from macro 'vshrq_n_s8'
>      int8x16_t __ret; \
>                ^
>    lib/raid6/neon8.c:56:6: warning: no previous prototype for function 'raid6_neon8_gen_syndrome_real' [-Wmissing-prototypes]
>    void raid6_neon8_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>         ^
>    lib/raid6/neon8.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    void raid6_neon8_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs)
>    ^
>    static
>    lib/raid6/neon8.c:264:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w20 = vshrq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:265:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w21 = vshrq_n_u8(wq1, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:266:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w22 = vshrq_n_u8(wq2, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:267:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w23 = vshrq_n_u8(wq3, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:268:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w24 = vshrq_n_u8(wq4, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:269:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w25 = vshrq_n_u8(wq5, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:270:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w26 = vshrq_n_u8(wq6, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:271:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w27 = vshrq_n_u8(wq7, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:25231:14: note: expanded from macro 'vshrq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:272:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w10 = vshlq_n_u8(wq0, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:273:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w11 = vshlq_n_u8(wq1, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:274:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w12 = vshlq_n_u8(wq2, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:275:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w13 = vshlq_n_u8(wq3, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:276:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w14 = vshlq_n_u8(wq4, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
>      uint8x16_t __ret; \
>                 ^
>    lib/raid6/neon8.c:277:10: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
>                            w15 = vshlq_n_u8(wq5, 4);
>                                  ^
>    /opt/cross/clang-276ca87382/lib/clang/15.0.0/include/arm_neon.h:24823:14: note: expanded from macro 'vshlq_n_u8'
> ..
>
> ---
> 0-DAY CI Kernel Test Service
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



-- 
Thanks,
~Nick Desaulniers

      reply	other threads:[~2022-03-10 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-10 11:39 [masahiroy:for-next 3/5] lib/raid6/neon1.c:39:9: warning: mixing declarations and code is incompatible with standards before C99 kernel test robot
2022-03-10 18:03 ` Nick Desaulniers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKwvOdkDnZfbG6TKqe6VVzcNBcm=6efDA5m9i5ORuSGk=PjxYw@mail.gmail.com' \
    --to=ndesaulniers@google.com \
    --cc=alexs@kernel.org \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ojeda@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).