lkml.org 
[lkml]   [2016]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] clk: Add fractional scale clock support
Hi,

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v4.7-rc3 next-20160616]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Hoan-Tran/clk-Add-fractional-scale-clock-support/20160617-074656
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `clk_fs_set_rate':
>> drivers/clk/clk-fractional-scale.c:99: undefined reference to `__udivdi3'
drivers/built-in.o: In function `clk_fs_round_rate':
drivers/clk/clk-fractional-scale.c:76: undefined reference to `__udivdi3'

vim +99 drivers/clk/clk-fractional-scale.c

93 * Compute the scaler:
94 *
95 * freq = parent_rate * scaler / denom, or
96 * scaler = freq * denom / parent_rate
97 */
98 ret = rate * fd->denom;
> 99 scale = ret / (u64)parent_rate;
100
101 /* Check if inverted */
102 if (fd->flags & CLK_FRACTIONAL_SCALE_INVERTED)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-06-17 03:41    [W:0.078 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site