Unnamed repository; edit this file 'description' to name the repository.
 help / color / mirror / Atom feed
* [media-next:master 558/558] drivers/staging/media/atomisp/pci/atomisp_v4l2.c:357:47: warning: unused variable 'dfs_rules_byt_cr'
@ 2020-05-31 15:03 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-31 15:03 UTC (permalink / raw)
  To: Mauro, Carvalho, Chehab,; +Cc: kbuild-all, clang-built-linux, linux-media

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

tree:   git://linuxtv.org/mchehab/media-next.git master
head:   83fac9617e226725b6e2db4a086465cdba2db1a5
commit: 83fac9617e226725b6e2db4a086465cdba2db1a5 [558/558] media: atomisp comment an unused code
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 83fac9617e226725b6e2db4a086465cdba2db1a5
        # 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 warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/staging/media/atomisp/pci/atomisp_v4l2.c:357:47: warning: unused variable 'dfs_rules_byt_cr' [-Wunused-const-variable]
static const struct atomisp_freq_scaling_rule dfs_rules_byt_cr[] = {
^
1 warning generated.

vim +/dfs_rules_byt_cr +357 drivers/staging/media/atomisp/pci/atomisp_v4l2.c

5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  356  
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23 @357  static const struct atomisp_freq_scaling_rule dfs_rules_byt_cr[] = {
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  358  	{
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  359  		.width = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  360  		.height = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  361  		.fps = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  362  		.isp_freq = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  363  		.run_mode = ATOMISP_RUN_MODE_VIDEO,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  364  	},
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  365  	{
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  366  		.width = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  367  		.height = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  368  		.fps = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  369  		.isp_freq = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  370  		.run_mode = ATOMISP_RUN_MODE_STILL_CAPTURE,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  371  	},
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  372  	{
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  373  		.width = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  374  		.height = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  375  		.fps = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  376  		.isp_freq = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  377  		.run_mode = ATOMISP_RUN_MODE_CONTINUOUS_CAPTURE,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  378  	},
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  379  	{
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  380  		.width = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  381  		.height = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  382  		.fps = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  383  		.isp_freq = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  384  		.run_mode = ATOMISP_RUN_MODE_PREVIEW,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  385  	},
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  386  	{
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  387  		.width = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  388  		.height = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  389  		.fps = ISP_FREQ_RULE_ANY,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  390  		.isp_freq = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  391  		.run_mode = ATOMISP_RUN_MODE_SDV,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  392  	},
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  393  };
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  394  

:::::: The code at line 357 was first introduced by commit
:::::: 5e0947450d16de5fd59fa43d04a53c5df037d54b media: atomisp: remove table duplication from dfs tables

:::::: TO: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

---
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: 73708 bytes --]

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

only message in thread, other threads:[~2020-05-31 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 15:03 [media-next:master 558/558] drivers/staging/media/atomisp/pci/atomisp_v4l2.c:357:47: warning: unused variable 'dfs_rules_byt_cr' 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