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 92/115] drivers/media/i2c/imx219.c:511: undefined reference to `__aeabi_ldivmod'
Date: Fri, 10 Apr 2026 17:57:59 +0800 [thread overview]
Message-ID: <202604101719.IZnukkGx-lkp@intel.com> (raw)
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
reply other threads:[~2026-04-10 9:58 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=202604101719.IZnukkGx-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox