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

From: Andy Shevchenko
Date: Fri Jul 16 2021 - 09:10:07 EST


On Thu, Jul 15, 2021 at 06:58:40PM +0100, Robin Murphy wrote:
> On 2021-07-15 17:51, Andy Shevchenko wrote:
> > On Thu, Jul 15, 2021 at 7:49 PM kernel test robot <lkp@xxxxxxxxx> 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.

With a hack patch I was able to compile-test.

--
With Best Regards,
Andy Shevchenko