linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
@ 2015-08-18  7:16 Chen-Yu Tsai
  2015-08-24 21:28 ` Stephen Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Chen-Yu Tsai @ 2015-08-18  7:16 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Chen-Yu Tsai, linux-clk, linux-kernel, stable

of_clk_set_defaults uses the type 'bool', but clk-conf.h does not
include its definition.

This results in a compile error when only clk-conf.h is used.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: stable@vger.kernel.org
---
 include/linux/clk/clk-conf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/clk/clk-conf.h b/include/linux/clk/clk-conf.h
index f3050e15f833..e0c362363c38 100644
--- a/include/linux/clk/clk-conf.h
+++ b/include/linux/clk/clk-conf.h
@@ -7,6 +7,8 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/types.h>
+
 struct device_node;
 
 #if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
  2015-08-18  7:16 [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h Chen-Yu Tsai
@ 2015-08-24 21:28 ` Stephen Boyd
  2015-08-25  2:55   ` Chen-Yu Tsai
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Boyd @ 2015-08-24 21:28 UTC (permalink / raw)
  To: Chen-Yu Tsai; +Cc: Michael Turquette, linux-clk, linux-kernel, stable

On 08/18, Chen-Yu Tsai wrote:
> of_clk_set_defaults uses the type 'bool', but clk-conf.h does not
> include its definition.
> 
> This results in a compile error when only clk-conf.h is used.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> Cc: stable@vger.kernel.org

Why is stable Cc-ed? Is there some sort of compilation failure on
stable kernels?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
  2015-08-24 21:28 ` Stephen Boyd
@ 2015-08-25  2:55   ` Chen-Yu Tsai
  2015-08-25  6:59     ` Michal Kubecek
  0 siblings, 1 reply; 6+ messages in thread
From: Chen-Yu Tsai @ 2015-08-25  2:55 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Chen-Yu Tsai, Michael Turquette, linux-clk, linux-kernel, stable

On Tue, Aug 25, 2015 at 5:28 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> On 08/18, Chen-Yu Tsai wrote:
>> of_clk_set_defaults uses the type 'bool', but clk-conf.h does not
>> include its definition.
>>
>> This results in a compile error when only clk-conf.h is used.
>>
>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>> Cc: stable@vger.kernel.org
>
> Why is stable Cc-ed? Is there some sort of compilation failure on
> stable kernels?

There isn't for now. Though I don't see why we shouldn't fix this for
stable kernels as well. It's possible other people or third-party
vendors working with stable/LTS kernels (Android?) may run into it.

I'm perfectly fine with not Cc-ing stable. It just seemed like the
right thing to do.


Regards
ChenYu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
  2015-08-25  2:55   ` Chen-Yu Tsai
@ 2015-08-25  6:59     ` Michal Kubecek
  2015-08-25  7:41       ` Chen-Yu Tsai
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Kubecek @ 2015-08-25  6:59 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Stephen Boyd, Michael Turquette, linux-clk, linux-kernel, stable

On Tue, Aug 25, 2015 at 10:55:28AM +0800, Chen-Yu Tsai wrote:
> On Tue, Aug 25, 2015 at 5:28 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > On 08/18, Chen-Yu Tsai wrote:
> >> of_clk_set_defaults uses the type 'bool', but clk-conf.h does not
> >> include its definition.
> >>
> >> This results in a compile error when only clk-conf.h is used.
> >>
> >> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> >> Cc: stable@vger.kernel.org
> >
> > Why is stable Cc-ed? Is there some sort of compilation failure on
> > stable kernels?
> 
> There isn't for now. Though I don't see why we shouldn't fix this for
> stable kernels as well. It's possible other people or third-party
> vendors working with stable/LTS kernels (Android?) may run into it.

How about 

   - It must fix a real bug that bothers people (not a, "This could be a
   problem..." type thing).

in Documentation/stable_kernel_rules.txt?

Michal Kubecek

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
  2015-08-25  6:59     ` Michal Kubecek
@ 2015-08-25  7:41       ` Chen-Yu Tsai
  2015-08-25 17:53         ` Stephen Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Chen-Yu Tsai @ 2015-08-25  7:41 UTC (permalink / raw)
  To: Michal Kubecek
  Cc: Chen-Yu Tsai, Stephen Boyd, Michael Turquette, linux-clk,
	linux-kernel, stable

On Tue, Aug 25, 2015 at 2:59 PM, Michal Kubecek <mkubecek@suse.cz> wrote:
> On Tue, Aug 25, 2015 at 10:55:28AM +0800, Chen-Yu Tsai wrote:
>> On Tue, Aug 25, 2015 at 5:28 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
>> > On 08/18, Chen-Yu Tsai wrote:
>> >> of_clk_set_defaults uses the type 'bool', but clk-conf.h does not
>> >> include its definition.
>> >>
>> >> This results in a compile error when only clk-conf.h is used.
>> >>
>> >> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>> >> Cc: stable@vger.kernel.org
>> >
>> > Why is stable Cc-ed? Is there some sort of compilation failure on
>> > stable kernels?
>>
>> There isn't for now. Though I don't see why we shouldn't fix this for
>> stable kernels as well. It's possible other people or third-party
>> vendors working with stable/LTS kernels (Android?) may run into it.
>
> How about
>
>    - It must fix a real bug that bothers people (not a, "This could be a
>    problem..." type thing).
>
> in Documentation/stable_kernel_rules.txt?

My bad. I'll send a new version without the CC.

ChenYu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
  2015-08-25  7:41       ` Chen-Yu Tsai
@ 2015-08-25 17:53         ` Stephen Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2015-08-25 17:53 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Michal Kubecek, Michael Turquette, linux-clk, linux-kernel, stable

On 08/25, Chen-Yu Tsai wrote:
> On Tue, Aug 25, 2015 at 2:59 PM, Michal Kubecek <mkubecek@suse.cz> wrote:
> >
> > How about
> >
> >    - It must fix a real bug that bothers people (not a, "This could be a
> >    problem..." type thing).
> >
> > in Documentation/stable_kernel_rules.txt?
> 
> My bad. I'll send a new version without the CC.

No need. I'll strip off the cc when applying.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-25 17:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18  7:16 [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h Chen-Yu Tsai
2015-08-24 21:28 ` Stephen Boyd
2015-08-25  2:55   ` Chen-Yu Tsai
2015-08-25  6:59     ` Michal Kubecek
2015-08-25  7:41       ` Chen-Yu Tsai
2015-08-25 17:53         ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).