* [linux-next:master 5026/10763] drivers/staging/media/atomisp/pci/sh_css.c:1384:6: error: 'stream' undeclared; did you mean
@ 2020-09-25 11:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-25 11:13 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: kbuild-all, linux-media
[-- Attachment #1: Type: text/plain, Size: 6586 bytes --]
Hi Mauro,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d1d2220c7f39d0fca302c4ba6cca4ede01660a2b
commit: 852a53a02cf04b17f5e1677991d439cadc77ea29 [5026/10763] media: atomisp: get rid of unused vars
config: i386-randconfig-r035-20200925 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=852a53a02cf04b17f5e1677991d439cadc77ea29
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
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@intel.com>
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] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
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@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: 39099 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-25 11:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 11:13 [linux-next:master 5026/10763] drivers/staging/media/atomisp/pci/sh_css.c:1384:6: error: 'stream' undeclared; did you mean kernel 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).