tree: git://linuxtv.org/sailus/media_tree.git master head: bdfbc0f7b7d2b8e9a2ddeb2da7f003c4f60da97e commit: 8ffec8ae6b0650048ac015fff01e0d49ec24eca9 [23/37] media: i2c: st-mipid02: use active state to store pad formats config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20231128/202311280836.uk1CGJnl-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231128/202311280836.uk1CGJnl-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311280836.uk1CGJnl-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/media/i2c/st-mipid02.c:645:10: error: 'const struct v4l2_subdev_pad_ops' has no member named 'init_cfg' 645 | .init_cfg = mipid02_init_cfg, | ^~~~~~~~ >> drivers/media/i2c/st-mipid02.c:645:21: error: initialization of 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_mbus_code_enum *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *)' [-Werror=incompatible-pointer-types] 645 | .init_cfg = mipid02_init_cfg, | ^~~~~~~~~~~~~~~~ drivers/media/i2c/st-mipid02.c:645:21: note: (near initialization for 'mipid02_pad_ops.enum_mbus_code') drivers/media/i2c/st-mipid02.c:646:27: warning: initialized field overwritten [-Woverride-init] 646 | .enum_mbus_code = mipid02_enum_mbus_code, | ^~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/st-mipid02.c:646:27: note: (near initialization for 'mipid02_pad_ops.enum_mbus_code') cc1: some warnings being treated as errors vim +645 drivers/media/i2c/st-mipid02.c 643 644 static const struct v4l2_subdev_pad_ops mipid02_pad_ops = { > 645 .init_cfg = mipid02_init_cfg, 646 .enum_mbus_code = mipid02_enum_mbus_code, 647 .get_fmt = v4l2_subdev_get_fmt, 648 .set_fmt = mipid02_set_fmt, 649 }; 650 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki