Re: [PATCH v1 1/3] clk: fractional-divider: Export approximation algo to the CCF users

Robin Murphy
2021-07-15T17:59:12Z

On 2021-07-15 17:51, Andy Shevchenko wrote:
> On Thu, Jul 15, 2021 at 7:49 PM kernel test robot <lkp@intel.com> wrote:
>> I love your patch! Yet something to improve:
>
> Definitely!
>
>> All errors (new ones prefixed by >>):
>>
>>>> drivers/clk/rockchip/clk.c:27:10: fatal error: clk-fractional-divider.h: No such file or directory
>> 27 | #include "clk-fractional-divider.h"
>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> compilation terminated.
>
> Indeed. No idea how to compile-test this on x86.
> Let me see what I can do to avoid other issues.

Ha, the individual SoC-specific parts have COMPILE_TEST support, but the
top-level COMMON_CLK_ROCKCHIP doesn't. That could probably be fixed.

Otherwise, you can always grab a toolchain from [1] (if your distro
doesn't offer one already) and cross-compile - defconfig for arm64 or
multi_v7_defconfig for arm should cover it.

Robin.

[1] https://cdn.kernel.org/pub/tools/crosstool/