[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202506182043.reVJKofN-lkp@intel.com>
Date: Wed, 18 Jun 2025 21:04:26 +0800
From: kernel test robot <lkp@...el.com>
To: Richard Leitner <richard.leitner@...ux.dev>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Dave Stevenson <dave.stevenson@...pberrypi.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Lee Jones <lee@...nel.org>, Pavel Machek <pavel@...nel.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-media@...r.kernel.org,
Hans Verkuil <hverkuil@...all.nl>, linux-kernel@...r.kernel.org,
linux-leds@...r.kernel.org,
Richard Leitner <richard.leitner@...ux.dev>
Subject: Re: [PATCH v5 09/10] media: i2c: ov9282: implement try_ctrl for
strobe_duration
Hi Richard,
kernel test robot noticed the following build errors:
[auto build test ERROR on d9946fe286439c2aeaa7953b8c316efe5b83d515]
url: https://github.com/intel-lab-lkp/linux/commits/Richard-Leitner/media-v4l-ctrls-add-a-control-for-flash-strobe-duration/20250617-153657
base: d9946fe286439c2aeaa7953b8c316efe5b83d515
patch link: https://lore.kernel.org/r/20250617-ov9282-flash-strobe-v5-9-9762da74d065%40linux.dev
patch subject: [PATCH v5 09/10] media: i2c: ov9282: implement try_ctrl for strobe_duration
config: i386-randconfig-051-20250618 (https://download.01.org/0day-ci/archive/20250618/202506182043.reVJKofN-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250618/202506182043.reVJKofN-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506182043.reVJKofN-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/media/i2c/ov9282.o: in function `ov9282_flash_duration_to_us':
>> drivers/media/i2c/ov9282.c:722: undefined reference to `__udivdi3'
>> ld: drivers/media/i2c/ov9282.c:722: undefined reference to `__udivdi3'
vim +722 drivers/media/i2c/ov9282.c
711
712 static u32 ov9282_flash_duration_to_us(struct ov9282 *ov9282, u32 value)
713 {
714 /*
715 * As the calculation in ov9282_us_to_flash_duration uses an integer
716 * divison calculate in ns here to get more precision. Then check if
717 * we need to compensate that divison by incrementing the µs result.
718 */
719 u32 frame_width = ov9282->cur_mode->width + ov9282->hblank_ctrl->val;
720 u64 ns = value * 1000 * frame_width / OV9282_STROBE_SPAN_FACTOR;
721
> 722 return DIV_ROUND_UP(ns, 1000);
723 }
724
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists