tree: git://linuxtv.org/media_tree.git master head: 93c16fabdb74a9c1a427402fc1fe588a45130c5b commit: 852a53a02cf04b17f5e1677991d439cadc77ea29 [269/315] media: atomisp: get rid of unused vars config: i386-randconfig-a002-20200909 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): git checkout 852a53a02cf04b17f5e1677991d439cadc77ea29 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/staging/media/atomisp/pci/sh_css.c: In function 'start_binary': >> drivers/staging/media/atomisp/pci/sh_css.c:1384:6: error: 'stream' undeclared (first use in this function); did you mean 'strim'? 1384 | if (stream->reconfigure_css_rx) { | ^~~~~~ | strim drivers/staging/media/atomisp/pci/sh_css.c:1384:6: note: each undeclared identifier is reported only once for each function it appears in drivers/staging/media/atomisp/pci/sh_css.c: In function 'load_preview_binaries': >> drivers/staging/media/atomisp/pci/sh_css.c:2967:38: error: 'continuous' undeclared (first use in this function) 2967 | need_isp_copy_binary = !online && !continuous; | ^~~~~~~~~~ drivers/staging/media/atomisp/pci/sh_css.c: In function 'load_primary_binaries': drivers/staging/media/atomisp/pci/sh_css.c:6234:37: error: 'continuous' undeclared (first use in this function) 6234 | need_isp_copy_binary = !online && !continuous && !memory; | ^~~~~~~~~~ >> drivers/staging/media/atomisp/pci/sh_css.c:6234:52: error: 'memory' undeclared (first use in this function); did you mean 'memcpy'? 6234 | need_isp_copy_binary = !online && !continuous && !memory; | ^~~~~~ | memcpy In file included from drivers/staging/media/atomisp//pci/input_system_local.h:10, from drivers/staging/media/atomisp//pci/hive_isp_css_include/input_system.h:34, from drivers/staging/media/atomisp/pci/sh_css_internal.h:28, from drivers/staging/media/atomisp/pci/sh_css.c:27: At top level: drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:393:26: warning: 'SUB_SYSTEM_OFFSET' defined but not used [-Wunused-const-variable=] 393 | static const hrt_address SUB_SYSTEM_OFFSET[N_SUB_SYSTEM_ID] = { | ^~~~~~~~~~~~~~~~~ drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:382:30: warning: 'MIPI_PORT_LANES' defined but not used [-Wunused-const-variable=] 382 | static const mipi_lane_cfg_t MIPI_PORT_LANES[N_RX_MODE][N_MIPI_PORT_ID] = { | ^~~~~~~~~~~~~~~ drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:371:19: warning: 'MIPI_PORT_ACTIVE' defined but not used [-Wunused-const-variable=] 371 | static const bool MIPI_PORT_ACTIVE[N_RX_MODE][N_MIPI_PORT_ID] = { | ^~~~~~~~~~~~~~~~ drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:365:30: warning: 'MIPI_PORT_MAXLANES' defined but not used [-Wunused-const-variable=] 365 | static const mipi_lane_cfg_t MIPI_PORT_MAXLANES[N_MIPI_PORT_ID] = { | ^~~~~~~~~~~~~~~~~~ drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:359:26: warning: 'MIPI_PORT_OFFSET' defined but not used [-Wunused-const-variable=] 359 | static const hrt_address MIPI_PORT_OFFSET[N_MIPI_PORT_ID] = { | ^~~~~~~~~~~~~~~~ In file included from drivers/staging/media/atomisp//pci/hive_isp_css_include/input_formatter.h:34, from drivers/staging/media/atomisp/pci/sh_css_internal.h:26, from drivers/staging/media/atomisp/pci/sh_css.c:27: drivers/staging/media/atomisp//pci/hive_isp_css_common/host/input_formatter_local.h:118:27: warning: 'input_formatter_alignment' defined but not used [-Wunused-const-variable=] 118 | static const unsigned int input_formatter_alignment[N_INPUT_FORMATTER_ID] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~ git remote add linuxtv-media git://linuxtv.org/media_tree.git git fetch --no-tags linuxtv-media master git checkout 852a53a02cf04b17f5e1677991d439cadc77ea29 vim +1384 drivers/staging/media/atomisp/pci/sh_css.c ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1382 641c2292bf19bce drivers/staging/media/atomisp/pci/sh_css.c Mauro Carvalho Chehab 2020-07-20 1383 #if !defined(ISP2401) ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 @1384 if (stream->reconfigure_css_rx) { ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1385 ia_css_isys_rx_configure(&pipe->stream->csi_rx_config, ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1386 pipe->stream->config.mode); ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1387 stream->reconfigure_css_rx = false; ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1388 } ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1389 #endif ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1390 } ad85094b293e40e drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c Mauro Carvalho Chehab 2020-04-19 1391 :::::: The code at line 1384 was first introduced by commit :::::: ad85094b293e40e7a2f831b0311a389d952ebd5e Revert "media: staging: atomisp: Remove driver" :::::: TO: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> :::::: CC: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip