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: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-media@vger.kernel.org, Frank Li <Frank.Li@nxp.com>
Subject: [sailus-media-tree:metadata 79/169] drivers/media/platform/nxp/imx95-csi-formatter.c:527:14: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expre...
Date: Mon, 14 Sep 2026 05:22:33 +0800	[thread overview]
Message-ID: <202609140557.zQdCENMs-lkp@intel.com> (raw)

tree:   git://linuxtv.org/sailus/media_tree.git metadata
head:   357c2e168b861a3df80c68a9c44de9c9c282ec46
commit: cd854e06923fe7a8c466ef89a0308bcab2adf45e [79/169] media: v4l2-subdev: Add struct v4l2_subdev_client_info pointer to pad ops
config: arm64-randconfig-002-20260914 (https://download.01.org/0day-ci/archive/20260914/202609140557.zQdCENMs-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 148ee2b266b73a49f1f31d0bd17d4818b91bee9f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260914/202609140557.zQdCENMs-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/202609140557.zQdCENMs-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/platform/nxp/imx95-csi-formatter.c:527:14: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
     527 |         .set_fmt                = csi_formatter_subdev_set_fmt,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +527 drivers/media/platform/nxp/imx95-csi-formatter.c

3652add7e9b01d Guoniu Zhou 2026-07-28  523  
3652add7e9b01d Guoniu Zhou 2026-07-28  524  static const struct v4l2_subdev_pad_ops formatter_subdev_pad_ops = {
3652add7e9b01d Guoniu Zhou 2026-07-28  525  	.enum_mbus_code		= csi_formatter_subdev_enum_mbus_code,
3652add7e9b01d Guoniu Zhou 2026-07-28  526  	.get_fmt		= v4l2_subdev_get_fmt,
3652add7e9b01d Guoniu Zhou 2026-07-28 @527  	.set_fmt		= csi_formatter_subdev_set_fmt,
3652add7e9b01d Guoniu Zhou 2026-07-28  528  	.get_frame_desc		= v4l2_subdev_get_frame_desc_passthrough,
3652add7e9b01d Guoniu Zhou 2026-07-28  529  	.set_routing		= csi_formatter_subdev_set_routing,
3652add7e9b01d Guoniu Zhou 2026-07-28  530  	.enable_streams		= csi_formatter_subdev_enable_streams,
3652add7e9b01d Guoniu Zhou 2026-07-28  531  	.disable_streams	= csi_formatter_subdev_disable_streams,
3652add7e9b01d Guoniu Zhou 2026-07-28  532  };
3652add7e9b01d Guoniu Zhou 2026-07-28  533  

:::::: The code at line 527 was first introduced by commit
:::::: 3652add7e9b01d6ea4d3d4ff3ade8f60084867f6 media: nxp: Add i.MX95 CSI pixel formatter v4l2 driver

:::::: TO: Guoniu Zhou <guoniu.zhou@nxp.com>
:::::: CC: Hans Verkuil <hverkuil+cisco@kernel.org>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-13 21:23 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=202609140557.zQdCENMs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Frank.Li@nxp.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 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.