Re: [PATCH v3 05/10] media: i2c: imx290: Add configurable link frequency and pixel rate
From: kbuild test robot
Date: Wed May 27 2020 - 10:43:48 EST
Hi Andrey,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.7-rc7 next-20200526]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Andrey-Konovalov/Improvements-to-IMX290-CMOS-driver/20200525-032909
base: git://linuxtv.org/media_tree.git master
config: microblaze-randconfig-c023-20200527 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>, old ones prefixed by <<):
microblaze-linux-ld: drivers/media/i2c/imx290.o: in function `imx290_calc_pixel_rate':
>> drivers/media/i2c/imx290.c:465: undefined reference to `__divdi3'
vim +465 drivers/media/i2c/imx290.c
458
459 static u64 imx290_calc_pixel_rate(struct imx290 *imx290)
460 {
461 s64 link_freq = imx290_get_link_freq(imx290);
462 u8 nlanes = imx290->nlanes;
463
464 /* pixel rate = link_freq * 2 * nr_of_lanes / bits_per_sample */
> 465 return (link_freq * 2 * nlanes / 10);
466 }
467
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip