All of lore.kernel.org
 help / color / mirror / Atom feed
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 28/115] drivers/media/platform/renesas/vsp1/vsp1_entity.c:164:5: error: conflicting types for 'vsp1_subdev_get_pad_format'
Date: Wed, 08 Apr 2026 15:50:11 +0800	[thread overview]
Message-ID: <202604081508.HhYdRWpG-lkp@intel.com> (raw)

tree:   git://linuxtv.org/sailus/media_tree.git metadata
head:   0788d31c6570b12fdf54d8ecc25877ece44318d9
commit: b0b1469354e8ad8b1555fa966ac3c8c14a6a70c7 [28/115] media: v4l2-subdev: Add struct v4l2_subdev_client_info argument to pad ops
config: arm-randconfig-001-20260408 (https://download.01.org/0day-ci/archive/20260408/202604081508.HhYdRWpG-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260408/202604081508.HhYdRWpG-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/202604081508.HhYdRWpG-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/platform/renesas/vsp1/vsp1_entity.c:164:5: error: conflicting types for 'vsp1_subdev_get_pad_format'
    int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/media/platform/renesas/vsp1/vsp1_entity.c:22:
   drivers/media/platform/renesas/vsp1/vsp1_entity.h:187:5: note: previous declaration of 'vsp1_subdev_get_pad_format' was here
    int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/vsp1_subdev_get_pad_format +164 drivers/media/platform/renesas/vsp1/vsp1_entity.c

e790c3cb8d904c4 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2015-11-15  154  
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  155  /*
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  156   * vsp1_subdev_get_pad_format - Subdev pad get_fmt handler
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  157   * @subdev: V4L2 subdevice
30d187cd74874aa drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26  158   * @sd_state: V4L2 subdev state
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  159   * @fmt: V4L2 subdev format
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  160   *
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  161   * This function implements the subdev get_fmt pad operation. It can be used as
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  162   * a direct drop-in for the operation handler.
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  163   */
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24 @164  int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
b0b1469354e8ad8 drivers/media/platform/renesas/vsp1/vsp1_entity.c Sakari Ailus     2026-01-30  165  			       const struct v4l2_subdev_client_info *ci,
0d346d2a6f54f06 drivers/media/platform/vsp1/vsp1_entity.c         Tomi Valkeinen   2021-06-10  166  			       struct v4l2_subdev_state *sd_state,
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  167  			       struct v4l2_subdev_format *fmt)
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  168  {
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  169  	struct vsp1_entity *entity = to_vsp1_entity(subdev);
30d187cd74874aa drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26  170  	struct v4l2_subdev_state *state;
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  171  
30d187cd74874aa drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26  172  	state = vsp1_entity_get_state(entity, sd_state, fmt->which);
30d187cd74874aa drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-26  173  	if (!state)
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  174  		return -EINVAL;
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  175  
34e77ed84b274d2 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-06-26  176  	mutex_lock(&entity->lock);
0aaf7db08726773 drivers/media/platform/renesas/vsp1/vsp1_entity.c Laurent Pinchart 2023-11-12  177  	fmt->format = *v4l2_subdev_state_get_format(state, fmt->pad);
34e77ed84b274d2 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-06-26  178  	mutex_unlock(&entity->lock);
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  179  
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  180  	return 0;
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  181  }
3f557220cc29d19 drivers/media/platform/vsp1/vsp1_entity.c         Laurent Pinchart 2016-02-24  182  

:::::: The code at line 164 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-04-08  7:51 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=202604081508.HhYdRWpG-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.