From: kernel test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org
Subject: [sailus-media-tree:metadata 30/122] drivers/staging/media/max96712/max96712.c:267:20: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' from incompatible pointer type 'int (*)(struct v4l2...
Date: Wed, 29 Apr 2026 13:25:57 +0800 [thread overview]
Message-ID: <202604291336.ZjaAXBvo-lkp@intel.com> (raw)
tree: git://linuxtv.org/sailus/media_tree.git metadata
head: 489ab6e79288be8d219b68525a13699fde0248ae
commit: bdef7b84a4e74d1cef8cd5c1326c657cf4b86b3e [30/122] media: v4l2-subdev: Add struct v4l2_subdev_client_info pointer to pad ops
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260429/202604291336.ZjaAXBvo-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260429/202604291336.ZjaAXBvo-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604291336.ZjaAXBvo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/staging/media/max96712/max96712.c:267:20: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Werror=incompatible-pointer-types]
267 | .set_fmt = v4l2_subdev_get_fmt,
| ^~~~~~~~~~~~~~~~~~~
drivers/staging/media/max96712/max96712.c:267:20: note: (near initialization for 'max96712_pad_ops.set_fmt')
cc1: some warnings being treated as errors
vim +267 drivers/staging/media/max96712/max96712.c
ce44dc1feab5f0 Niklas Söderlund 2024-05-10 264
5814f32fef137e Niklas Söderlund 2021-09-12 265 static const struct v4l2_subdev_pad_ops max96712_pad_ops = {
ce44dc1feab5f0 Niklas Söderlund 2024-05-10 266 .get_fmt = v4l2_subdev_get_fmt,
ce44dc1feab5f0 Niklas Söderlund 2024-05-10 @267 .set_fmt = v4l2_subdev_get_fmt,
5814f32fef137e Niklas Söderlund 2021-09-12 268 };
5814f32fef137e Niklas Söderlund 2021-09-12 269
:::::: The code at line 267 was first introduced by commit
:::::: ce44dc1feab5f038edb39dc443b32eae3ac1234d media: staging: max96712: Store format in subdev active state
:::::: TO: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
:::::: CC: Hans Verkuil <hverkuil-cisco@xs4all.nl>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-04-29 5:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202604291336.ZjaAXBvo-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.