From: kernel test robot <lkp@intel.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
linux-media@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Rui Miguel Silva <rmfrfs@gmail.com>,
Martin Kepplinger <martink@posteo.de>,
Purism Kernel Team <kernel@puri.sm>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
imx@lists.linux.dev, Frank Li <Frank.Li@nxp.com>,
Stefan Klug <stefan.klug@ideasonboard.com>,
Sakari Ailus <sakari.ailus@iki.fi>
Subject: Re: [PATCH v1 3/6] media: imx-mipi-csis: Implement the .set_routing() operation
Date: Mon, 10 Nov 2025 05:48:29 +0800 [thread overview]
Message-ID: <202511100531.4skNcchV-lkp@intel.com> (raw)
In-Reply-To: <20251107015813.5834-4-laurent.pinchart@ideasonboard.com>
Hi Laurent,
kernel test robot noticed the following build errors:
[auto build test ERROR on dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa]
url: https://github.com/intel-lab-lkp/linux/commits/Laurent-Pinchart/media-imx-mipi-csis-Add-VC-related-register-fields/20251107-100134
base: dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa
patch link: https://lore.kernel.org/r/20251107015813.5834-4-laurent.pinchart%40ideasonboard.com
patch subject: [PATCH v1 3/6] media: imx-mipi-csis: Implement the .set_routing() operation
config: arm-randconfig-003-20251110 (https://download.01.org/0day-ci/archive/20251110/202511100531.4skNcchV-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251110/202511100531.4skNcchV-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/202511100531.4skNcchV-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/platform/nxp/imx-mipi-csis.c:1164:32: error: initializer element is not a compile-time constant
.code = mipi_csis_formats[0].code,
~~~~~~~~~~~~~~~~~~~~~^~~~
1 error generated.
vim +1164 drivers/media/platform/nxp/imx-mipi-csis.c
1156
1157 static int __mipi_csis_set_routing(struct v4l2_subdev *sd,
1158 struct v4l2_subdev_state *state,
1159 struct v4l2_subdev_krouting *routing)
1160 {
1161 static const struct v4l2_mbus_framefmt format = {
1162 .width = MIPI_CSIS_DEF_PIX_WIDTH,
1163 .height = MIPI_CSIS_DEF_PIX_HEIGHT,
> 1164 .code = mipi_csis_formats[0].code,
1165 .field = V4L2_FIELD_NONE,
1166 .colorspace = V4L2_XFER_FUNC_709,
1167 .ycbcr_enc = V4L2_YCBCR_ENC_601,
1168 .quantization = V4L2_QUANTIZATION_LIM_RANGE,
1169 .xfer_func = V4L2_XFER_FUNC_SRGB,
1170 };
1171 int ret;
1172
1173 ret = v4l2_subdev_routing_validate(sd, routing,
1174 V4L2_SUBDEV_ROUTING_NO_1_TO_N);
1175 if (ret)
1176 return ret;
1177
1178 /* Only a single route is supported for now. */
1179 if (routing->num_routes != 1 ||
1180 !(routing->routes[0].flags & V4L2_SUBDEV_ROUTE_FL_ACTIVE))
1181 return -EINVAL;
1182
1183 ret = v4l2_subdev_set_routing_with_fmt(sd, state, routing, &format);
1184 if (ret)
1185 return ret;
1186
1187 return 0;
1188 }
1189
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-09 21:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 1:58 [PATCH v1 0/6] media: imx-mipi-csis: Add streams support Laurent Pinchart
2025-11-07 1:58 ` [PATCH v1 1/6] media: imx-mipi-csis: Add VC-related register fields Laurent Pinchart
2025-11-07 16:19 ` Frank Li
2025-11-07 18:44 ` Laurent Pinchart
2025-11-07 20:37 ` Frank Li
2025-11-07 1:58 ` [PATCH v1 2/6] media: imx-mipi-csis: Switch to .enable_streams() Laurent Pinchart
2025-11-07 16:29 ` Frank Li
2025-11-07 18:32 ` Laurent Pinchart
2025-11-07 1:58 ` [PATCH v1 3/6] media: imx-mipi-csis: Implement the .set_routing() operation Laurent Pinchart
2025-11-07 16:36 ` Frank Li
2025-11-07 18:30 ` Laurent Pinchart
2025-11-07 20:38 ` Frank Li
2025-11-09 21:48 ` kernel test robot [this message]
2025-11-07 1:58 ` [PATCH v1 4/6] media: imx-mipi-csis: Group runtime parameters in structure Laurent Pinchart
2025-11-07 16:40 ` Frank Li
2025-11-07 1:58 ` [PATCH v1 5/6] media: imx-mipi-csis: Set all per-channel registers in one function Laurent Pinchart
2025-11-07 16:37 ` Frank Li
2025-11-07 1:58 ` [PATCH v1 6/6] media: imx-mipi-csis: Add multi-channel support Laurent Pinchart
2025-11-07 16:48 ` Frank Li
2025-11-07 18:43 ` Laurent Pinchart
2025-11-20 3:12 ` G.N. Zhou
2025-11-20 15:23 ` Frank Li
2025-11-20 16:22 ` Laurent Pinchart
2025-12-02 0:59 ` [EXT] " G.N. Zhou
2025-11-07 9:31 ` [PATCH v1 0/6] media: imx-mipi-csis: Add streams support Martin Kepplinger
2025-11-07 18:28 ` Laurent Pinchart
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=202511100531.4skNcchV-lkp@intel.com \
--to=lkp@intel.com \
--cc=Frank.Li@nxp.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=kernel@puri.sm \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=martink@posteo.de \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rmfrfs@gmail.com \
--cc=sakari.ailus@iki.fi \
--cc=stefan.klug@ideasonboard.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.