[arm:csi-v6 2/7] drivers/media/i2c/imx219-rmk.c:1472:3: error: 'const struct v4l2_subdev_video_ops' has no member named 'g_mbus_config'
kernel test robot
lkp at intel.com
Fri Jan 8 13:51:25 EST 2021
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git csi-v6
head: 2e57f1ffae4a5c8b129c78096e8182550f586bb1
commit: caec430777cf6fcc8603ad31b718652cc1efe060 [2/7] media: i2c: imx219 camera driver
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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
git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
git fetch --no-tags arm csi-v6
git checkout caec430777cf6fcc8603ad31b718652cc1efe060
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/err.h:5,
from include/linux/clk.h:12,
from drivers/media/i2c/imx219-rmk.c:47:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/m68k/include/asm/page_mm.h:169:49: warning: ordered comparison of pointer with null pointer [-Wextra]
169 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory)
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
drivers/media/i2c/imx219-rmk.c: At top level:
>> drivers/media/i2c/imx219-rmk.c:1472:3: error: 'const struct v4l2_subdev_video_ops' has no member named 'g_mbus_config'
1472 | .g_mbus_config = imx219_g_mbus_config,
| ^~~~~~~~~~~~~
>> drivers/media/i2c/imx219-rmk.c:1472:19: error: initialization of 'int (*)(struct v4l2_subdev *, struct v4l2_fract *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_mbus_config *)' [-Werror=incompatible-pointer-types]
1472 | .g_mbus_config = imx219_g_mbus_config,
| ^~~~~~~~~~~~~~~~~~~~
drivers/media/i2c/imx219-rmk.c:1472:19: note: (near initialization for 'imx219_root_video_ops.g_pixelaspect')
drivers/media/i2c/imx219-rmk.c:2910:12: warning: 'imx219_rpm_resume' defined but not used [-Wunused-function]
2910 | static int imx219_rpm_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~
drivers/media/i2c/imx219-rmk.c:2899:12: warning: 'imx219_rpm_suspend' defined but not used [-Wunused-function]
2899 | static int imx219_rpm_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
Depends on DISCONTIGMEM || NUMA
Selected by
- SINGLE_MEMORY_CHUNK && MMU
vim +1472 drivers/media/i2c/imx219-rmk.c
1467
1468 static const struct v4l2_subdev_video_ops imx219_root_video_ops = {
1469 .g_frame_interval = imx219_g_frame_interval,
1470 .s_frame_interval = imx219_s_frame_interval,
1471 .s_stream = imx219_s_stream,
> 1472 .g_mbus_config = imx219_g_mbus_config,
1473 };
1474
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 58993 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210109/d0c67484/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list