Unnamed repository; edit this file 'description' to name the repository.
 help / color / mirror / Atom feed
* [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
@ 2020-05-30 12:57 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-30 12:57 UTC (permalink / raw)
  To: Mauro, Carvalho, Chehab,; +Cc: kbuild-all, clang-built-linux, linux-media

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

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@intel.com>

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@lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-30 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30 12:57 [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 kbuild test robot

Unnamed repository; edit this file 'description' to name the repository.

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://archive.lwn.net:8080/linux-media/0 linux-media/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-media linux-media/ http://archive.lwn.net:8080/linux-media \
		linux-media@vger.kernel.org lwn-linux-media@archive.lwn.net
	public-inbox-index linux-media

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://archive.lwn.net/lwn.kernel.linux-media


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git