* [freescale-fslc:pr/78 1477/3687] drivers/media/platform/mxc/capture/ov5640_mipi_v2.c:1631:16: error: 'ov5640_get_register' undeclared here (not in a function); did you mean
@ 2021-01-22 7:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-22 7:46 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3165 bytes --]
tree: https://github.com/Freescale/linux-fslc pr/78
head: 35b10ca99cd3cb57e545010466bbd588987c96f6
commit: 56070f92f637aec049ee65e2438de256bde093cf [1477/3687] media: add Kconfig and Makefile for the capture driver
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# https://github.com/Freescale/linux-fslc/commit/56070f92f637aec049ee65e2438de256bde093cf
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/78
git checkout 56070f92f637aec049ee65e2438de256bde093cf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/media/platform/mxc/capture/ov5640_mipi_v2.c: In function 'ov5640_enum_frameintervals':
drivers/media/platform/mxc/capture/ov5640_mipi_v2.c:1530:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
1530 | if (fie->index < 0 || fie->index > ov5640_mode_MAX)
| ^
drivers/media/platform/mxc/capture/ov5640_mipi_v2.c: At top level:
>> drivers/media/platform/mxc/capture/ov5640_mipi_v2.c:1631:16: error: 'ov5640_get_register' undeclared here (not in a function); did you mean 'regs_get_register'?
1631 | .g_register = ov5640_get_register,
| ^~~~~~~~~~~~~~~~~~~
| regs_get_register
>> drivers/media/platform/mxc/capture/ov5640_mipi_v2.c:1632:16: error: 'ov5640_set_register' undeclared here (not in a function); did you mean 'ov5640_set_fmt'?
1632 | .s_register = ov5640_set_register,
| ^~~~~~~~~~~~~~~~~~~
| ov5640_set_fmt
vim +1631 drivers/media/platform/mxc/capture/ov5640_mipi_v2.c
94567edebd7937c9 Robby Cai 2019-09-25 1627
94567edebd7937c9 Robby Cai 2019-09-25 1628 static struct v4l2_subdev_core_ops ov5640_subdev_core_ops = {
94567edebd7937c9 Robby Cai 2019-09-25 1629 .s_power = ov5640_s_power,
94567edebd7937c9 Robby Cai 2019-09-25 1630 #ifdef CONFIG_VIDEO_ADV_DEBUG
94567edebd7937c9 Robby Cai 2019-09-25 @1631 .g_register = ov5640_get_register,
94567edebd7937c9 Robby Cai 2019-09-25 @1632 .s_register = ov5640_set_register,
94567edebd7937c9 Robby Cai 2019-09-25 1633 #endif
94567edebd7937c9 Robby Cai 2019-09-25 1634 };
94567edebd7937c9 Robby Cai 2019-09-25 1635
:::::: The code at line 1631 was first introduced by commit
:::::: 94567edebd7937c955f6897415bb3f63d8f7ed83 media: capture: add ov5640 mipi and parallel driver of subdev version
:::::: TO: Robby Cai <robby.cai@nxp.com>
:::::: CC: Jens Rehsack <sno@netbsd.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69363 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-22 7:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 7:46 [freescale-fslc:pr/78 1477/3687] drivers/media/platform/mxc/capture/ov5640_mipi_v2.c:1631:16: error: 'ov5640_get_register' undeclared here (not in a function); did you mean kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.