* [sailus-media-tree:metadata 92/115] drivers/media/i2c/imx219.c:511: undefined reference to `__aeabi_ldivmod'
@ 2026-04-10 9:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-10 9:57 UTC (permalink / raw)
To: Sakari Ailus; +Cc: oe-kbuild-all, linux-media
tree: git://linuxtv.org/sailus/media_tree.git metadata
head: ace2f872475ed78b708d667f1b2d004b192eeeb1
commit: fbaf57c5f207a3fbab657d5bc757041ba26d5d69 [92/115] media: imx219: Allow configuring cropping and binning through CRSM
config: arm-randconfig-r072-20260408 (https://download.01.org/0day-ci/archive/20260410/202604101719.IZnukkGx-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
smatch: v0.5.0-9004-gb810ac53
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260410/202604101719.IZnukkGx-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/202604101719.IZnukkGx-lkp@intel.com/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: drivers/media/i2c/imx219.o: in function `imx219_apply_binning':
>> drivers/media/i2c/imx219.c:511: undefined reference to `__aeabi_ldivmod'
>> arm-linux-gnueabi-ld: drivers/media/i2c/imx219.c:512: undefined reference to `__aeabi_ldivmod'
vim +511 drivers/media/i2c/imx219.c
484
485 static void imx219_apply_binning(struct v4l2_subdev_state *state,
486 struct v4l2_rect *crop, unsigned int index)
487 {
488 struct v4l2_rect *compose =
489 v4l2_subdev_state_get_compose(state, IMX219_PAD_IMAGE);
490 struct v4l2_mbus_framefmt *source_format =
491 v4l2_subdev_state_get_format(state, IMX219_PAD_SOURCE,
492 IMX219_STREAM_IMAGE);
493 struct v4l2_mbus_framefmt *embedded_source_format =
494 v4l2_subdev_state_get_format(state, IMX219_PAD_SOURCE,
495 IMX219_STREAM_EDATA);
496 s64 binning = imx219_binning_factors[index];
497
498 crop->width = clamp(crop->width, IMX219_OUTPUT_X_SIZE_MIN *
499 V4L2_BINNING_FACTORS_HNUM(binning),
500 IMX219_VISIBLE_WIDTH) & ~1;
501 crop->height = clamp(crop->height, IMX219_OUTPUT_Y_SIZE_MIN *
502 V4L2_BINNING_FACTORS_VNUM(binning),
503 IMX219_VISIBLE_HEIGHT) & ~1;
504 crop->left = clamp((unsigned int)crop->left, IMX219_VISIBLE_LEFT,
505 IMX219_VISIBLE_LEFT + IMX219_VISIBLE_WIDTH -
506 crop->width);
507 crop->top = clamp((unsigned int)crop->top, IMX219_VISIBLE_TOP,
508 IMX219_VISIBLE_TOP + IMX219_VISIBLE_HEIGHT -
509 crop->height);
510
> 511 compose->width = crop->width / V4L2_BINNING_FACTORS_HNUM(binning);
> 512 compose->height = crop->height / V4L2_BINNING_FACTORS_VNUM(binning);
513
514 source_format->width = compose->width;
515 source_format->height = compose->height;
516
517 struct v4l2_mbus_framefmt *embedded_format =
518 v4l2_subdev_state_get_format(state, IMX219_PAD_EDATA);
519
520 embedded_format->width =
521 embedded_source_format->width = source_format->width;
522 }
523
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-10 9:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 9:57 [sailus-media-tree:metadata 92/115] drivers/media/i2c/imx219.c:511: undefined reference to `__aeabi_ldivmod' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox