linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [media-next:master 556/556] drivers/staging/media/atomisp/pci/atomisp_v4l2.c:395:40: warning: unused variable 'dfs_config_byt_cr'
@ 2020-05-30 21:38 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-30 21:38 UTC (permalink / raw)
  To: Mauro, Carvalho, Chehab,; +Cc: kbuild-all, clang-built-linux, linux-media

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

tree:   git://linuxtv.org/mchehab/media-next.git master
head:   e2afb5f02e3a2a34982bbed4e712f7227cecf9c4
commit: e2afb5f02e3a2a34982bbed4e712f7227cecf9c4 [556/556] media: atomisp: re-enable warnings again
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 e2afb5f02e3a2a34982bbed4e712f7227cecf9c4
        # 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:395:40: warning: unused variable 'dfs_config_byt_cr' [-Wunused-const-variable]
static const struct atomisp_dfs_config dfs_config_byt_cr = {
^
1 warning generated.
--
>> drivers/staging/media/atomisp/pci/sh_css.c:1864:6: warning: no previous prototype for function 'sh_css_free' [-Wmissing-prototypes]
void sh_css_free(void *ptr)
^
drivers/staging/media/atomisp/pci/sh_css.c:1864:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void sh_css_free(void *ptr)
^
static
1 warning generated.

vim +/dfs_config_byt_cr +395 drivers/staging/media/atomisp/pci/atomisp_v4l2.c

5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  394  
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23 @395  static const struct atomisp_dfs_config dfs_config_byt_cr = {
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  396  	.lowest_freq = ISP_FREQ_200MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  397  	.max_freq_at_vmin = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  398  	.highest_freq = ISP_FREQ_320MHZ,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  399  	.dfs_table = dfs_rules_byt_cr,
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  400  	.dfs_table_size = ARRAY_SIZE(dfs_rules_byt_cr),
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  401  };
5e0947450d16de drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c Mauro Carvalho Chehab 2020-04-23  402  

:::::: The code at line 395 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: 73651 bytes --]

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30 21:38 [media-next:master 556/556] drivers/staging/media/atomisp/pci/atomisp_v4l2.c:395:40: warning: unused variable 'dfs_config_byt_cr' kbuild test robot

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).