lkml.org 
[lkml]   [2021]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[mchehab-experimental:master 115/390] drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:32:40: warning: redefinition of typedef 'input_system_cfg2400_t' is a C11 feature
Hi Mauro,

FYI, the error/warning still remains.

tree: https://git.linuxtv.org/mchehab/experimental.git master
head: 68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c
commit: 4005ecee616a51cb0305d8e3664af45376e7cf65 [115/390] media: atomisp: shift some structs from input_system_local
config: x86_64-randconfig-a014-20211231 (https://download.01.org/0day-ci/archive/20211231/202112311809.bEKUPkjh-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7cd109b92c72855937273a6c8ab19016fbe27d33)
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
git remote add mchehab-experimental https://git.linuxtv.org/mchehab/experimental.git
git fetch --no-tags mchehab-experimental master
git checkout 4005ecee616a51cb0305d8e3664af45376e7cf65
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/staging/media/atomisp/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

In file included from drivers/staging/media/atomisp/pci/atomisp_cmd.c:44:
In file included from drivers/staging/media/atomisp//pci/atomisp_tables.h:23:
In file included from drivers/staging/media/atomisp//pci/sh_css_params.h:30:
In file included from drivers/staging/media/atomisp//pci/runtime/pipeline/interface/ia_css_pipeline.h:19:
In file included from drivers/staging/media/atomisp//pci/sh_css_internal.h:28:
In file included from drivers/staging/media/atomisp//pci/hive_isp_css_include/input_system.h:34:
In file included from drivers/staging/media/atomisp//pci/input_system_local.h:144:
>> drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:32:40: warning: redefinition of typedef 'input_system_cfg2400_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct input_system_cfg2400_s input_system_cfg2400_t;
^
drivers/staging/media/atomisp//pci/input_system_local.h:22:40: note: previous definition is here
typedef struct input_system_cfg2400_s input_system_cfg2400_t;
^
1 warning generated.


vim +/input_system_cfg2400_t +32 drivers/staging/media/atomisp//pci/isp2400_input_system_local.h

ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system_local.h Mauro Carvalho Chehab 2020-04-19 31
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system_local.h Mauro Carvalho Chehab 2020-04-19 @32 typedef struct input_system_cfg2400_s input_system_cfg2400_t;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system_local.h Mauro Carvalho Chehab 2020-04-19 33

:::::: The code at line 32 was first introduced by commit
:::::: ad85094b293e40e7a2f831b0311a389d952ebd5e Revert "media: staging: atomisp: Remove driver"

:::::: 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

\
 
 \ /
  Last update: 2021-12-31 11:15    [W:0.187 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site