From: kernel test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-media@vger.kernel.org
Subject: [sailus-media-tree:metadata-pre 13/13] drivers/media/platform/renesas/vsp1/vsp1_entity.c:161:5: error: conflicting types for 'vsp1_subdev_get_pad_format'
Date: Sat, 07 Feb 2026 05:37:31 +0800 [thread overview]
Message-ID: <202602070533.3Ybd45b6-lkp@intel.com> (raw)
tree: git://linuxtv.org/sailus/media_tree.git metadata-pre
head: 1b58854744d17413b2855b20178e63a1c82d58f5
commit: 1b58854744d17413b2855b20178e63a1c82d58f5 [13/13] media: v4l: Add struct v4l2_subdev_client_info argument to pad ops
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260207/202602070533.3Ybd45b6-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260207/202602070533.3Ybd45b6-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/202602070533.3Ybd45b6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/platform/renesas/vsp1/vsp1_entity.c:161:5: error: conflicting types for 'vsp1_subdev_get_pad_format'
161 | int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
| ^
drivers/media/platform/renesas/vsp1/vsp1_entity.h:178:5: note: previous declaration is here
178 | int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
| ^
1 error generated.
vim +/vsp1_subdev_get_pad_format +161 drivers/media/platform/renesas/vsp1/vsp1_entity.c
e790c3cb8d904c drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2015-11-15 151
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 152 /*
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 153 * vsp1_subdev_get_pad_format - Subdev pad get_fmt handler
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 154 * @subdev: V4L2 subdevice
30d187cd74874a drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26 155 * @sd_state: V4L2 subdev state
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 156 * @fmt: V4L2 subdev format
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 157 *
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 158 * This function implements the subdev get_fmt pad operation. It can be used as
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 159 * a direct drop-in for the operation handler.
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 160 */
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 @161 int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
1b58854744d174 drivers/media/platform/renesas/vsp1/vsp1_entity.c Sakari Ailus 2026-01-30 162 const struct v4l2_subdev_client_info *ci,
0d346d2a6f54f0 drivers/media/platform/vsp1/vsp1_entity.c Tomi Valkeinen 2021-06-10 163 struct v4l2_subdev_state *sd_state,
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 164 struct v4l2_subdev_format *fmt)
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 165 {
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 166 struct vsp1_entity *entity = to_vsp1_entity(subdev);
30d187cd74874a drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26 167 struct v4l2_subdev_state *state;
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 168
30d187cd74874a drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26 169 state = vsp1_entity_get_state(entity, sd_state, fmt->which);
30d187cd74874a drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26 170 if (!state)
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 171 return -EINVAL;
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 172
34e77ed84b274d drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-06-26 173 mutex_lock(&entity->lock);
0aaf7db0872677 drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-12 174 fmt->format = *v4l2_subdev_state_get_format(state, fmt->pad);
34e77ed84b274d drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-06-26 175 mutex_unlock(&entity->lock);
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 176
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 177 return 0;
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 178 }
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_entity.c Laurent Pinchart 2016-02-24 179
:::::: The code at line 161 was first introduced by commit
:::::: 3f557220cc29d1961ef9efa2a8db04c7c5f6e6d4 [media] v4l: vsp1: Factorize get pad format code
:::::: TO: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-02-06 21:38 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=202602070533.3Ybd45b6-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox