Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1256318

Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST
Date 2015-10-26 23:10 +0100
Message-ID <qnY7N-5o3-15@gated-at.bofh.it> (permalink)
References <qnCgW-hK-15@gated-at.bofh.it> <qnV9T-3lX-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Stephen,

On 10/27/2015 03:51 AM, Stephen Boyd wrote:
> On 10/26, Javier Martinez Canillas wrote:
>> Commit 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is
>> enabled") allowed clk drives to be compile tested on other archs but
> 
> s/drives/drivers/
> 
>> the COMMON_CLK_VERSATILE was only enabled on platforms that already
>> selected OF support so the drivers assume it will always be enabled.
>>
>> So, restrict compile test for these drivers only if OF is enabled.
> 
> No compiler error message?
> 
>>
>> Fixes: 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is enabled")
>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>>
> 
> No Reported-by?
>

Yes, sorry for forgetting the Reported-by and the build error...
 
> I'd prefer we add stubs instead, so I've applied the patch below.
>

Great, thanks!

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-25 23:50 +0100
  Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Geert Uytterhoeven <geert@linux-m68k.org> - 2015-10-26 10:10 +0100
    Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-26 15:50 +0100
  Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Stephen Boyd <sboyd@codeaurora.org> - 2015-10-26 20:00 +0100
    Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-26 23:10 +0100

csiph-web