[media-next:master 552/554] drivers/staging/media/atomisp/pci/sh_css_pipe.c:27:17: error: initializer element is not a compile-time constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/mchehab/media-next.git master
head:   74ac528a8f2668d34d9a343cae8f30f2235ccbdc
commit: 796cc7b4f10cc7213448011f46dc7d7260ca0c22 [552/554] media: atomisp: avoid using macros for defaults at ia_css_pipe.h
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 796cc7b4f10cc7213448011f46dc7d7260ca0c22
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/staging/media/atomisp/pci/sh_css_pipe.c:27:17: error: initializer element is not a compile-time constant
.copy_binary    = ia_css_binary_default_settings,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/sh_css_pipe.c:33:18: error: initializer element is not a compile-time constant
.copy_binary            = ia_css_binary_default_settings,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/sh_css_pipe.c:44:17: error: initializer element is not a compile-time constant
.copy_binary    = ia_css_binary_default_settings,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/atomisp/pci/sh_css_pipe.c:50:17: error: initializer element is not a compile-time constant
.copy_binary    = ia_css_binary_default_settings,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.

vim +27 drivers/staging/media/atomisp/pci/sh_css_pipe.c

    25	
    26	const struct ia_css_preview_settings ia_css_default_preview_settings = {
  > 27		.copy_binary	= ia_css_binary_default_settings,
    28		.preview_binary	= ia_css_binary_default_settings,
    29		.vf_pp_binary	= ia_css_binary_default_settings,
    30	};
    31	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux