Skip to contentSkip to conversation

lib/raid6/recov_neon_inner.c:13:31: warning: vector initializers are not compatible with NEON intrinsics in big endian mode

PATCH Greg Kroah-Hartman 1 participant 1 message Apr 21, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20200421160257.GA37385@ubuntu-s3-xlarge-x86

#1 lore raw
Quoted 30 lines · Nathan Chancellor

Hi all,

Sorry for converging on this commit yet again... hopefully it does not continue to happen for much longer.

Quoted 24 lines · kbuild test robot

Hi Dirk,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
head:   e60eb60a661c0738dafb0907de42ff3ff8ac91d0
commit: 88f7a6aa7fb9aa5076b65489146045dac865f1d3 [9768/9999] scripts/dtc: Remove redundant YYLOC global declaration
config: arm64-randconfig-a001-20200421 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a9b137f9ffba8cb25dfd7dd1fb613e8aac121b37)

reproduce:
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
git checkout 88f7a6aa7fb9aa5076b65489146045dac865f1d3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64

If you fix the issue, kindly add following tag as appropriate

All warnings (new ones prefixed by >>):

Quoted 1 line
Quoted 1 line

lib/raid6/recov_neon_inner.c:13:31: warning: vector initializers are not compatible with NEON intrinsics in big endian mode [-Wnonportable-vector-initialization]

Quoted 8 lines
Quoted 4 lines

static const uint8x16_t x0f = {

                                 ^

lib/raid6/recov_neon_inner.c:13:31: note: consider using vld1q_u8() to initialize a vector from memory, or vcombine_u8(vcreate_u8(), vcreate_u8()) to initialize from integer constants 1 warning generated.

Already fixed upstream:

1ad3935b39da7 ("lib/raid6: use vdupq_n_u8 to avoid endianness warnings")

Now queued up for 4.19.y and 4.14.y

Quoted 12 lines
Quoted 11 lines
Quoted 1 line
Quoted 1 line

drivers/video/fbdev/sis/init301.c:525:42: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]

         } else if((SiS_Pr->SiS_IF_DEF_LVDS == 1) /* ||
                    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
   drivers/video/fbdev/sis/init301.c:525:42: note: remove extraneous parentheses around the comparison to silence this warning
         } else if((SiS_Pr->SiS_IF_DEF_LVDS == 1) /* ||
                   ~                        ^   ~
   drivers/video/fbdev/sis/init301.c:525:42: note: use '=' to turn this equality comparison into an assignment
         } else if((SiS_Pr->SiS_IF_DEF_LVDS == 1) /* ||
                                            ^~
                                            =

1 warning generated.

Quoted 3 lines

Already fixed upstream:

864eb1afc60cb ("video: fbdev: sis: Remove unnecessary parentheses and commented code")

Queued up for 4.4.y, 4.9.y, 4.14.y, and 4.19.y.

thanks!

greg k-h