All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h>
@ 2011-02-09 18:33 Sergei Shtylyov
  2011-02-18 20:38 ` Sergei Shtylyov
  2011-02-23 12:01 ` Nori, Sekhar
  0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2011-02-09 18:33 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 6d803ba736abb5e122dede70a4720e4843dd6df4 (ARM: 6483/1: arm & sh:
factorised duplicated clkdev.c) caused the following warnings:

In file included from /home/headless/src/kernel.org/linux-davinci/arch/arm/
include/asm/clkdev.h:17,
                 from include/linux/clkdev.h:15,
                 from arch/arm/mach-davinci/clock.h:71,
                 from arch/arm/mach-davinci/common.c:22:
arch/arm/mach-davinci/include/mach/clkdev.h:4: warning: `struct clk' declared
inside parameter list
arch/arm/mach-davinci/include/mach/clkdev.h:4: warning: its scope is only this
definition or declaration, which is probably not what you want
arch/arm/mach-davinci/include/mach/clkdev.h:9: warning: `struct clk' declared
inside parameter list

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

---
The patch is against the recent DaVinci tree.

 arch/arm/mach-davinci/include/mach/clkdev.h |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-davinci/arch/arm/mach-davinci/include/mach/clkdev.h
===================================================================
--- linux-davinci.orig/arch/arm/mach-davinci/include/mach/clkdev.h
+++ linux-davinci/arch/arm/mach-davinci/include/mach/clkdev.h
@@ -1,6 +1,8 @@
 #ifndef __MACH_CLKDEV_H
 #define __MACH_CLKDEV_H
 
+struct clk;
+
 static inline int __clk_get(struct clk *clk)
 {
 	return 1;

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

* [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h>
  2011-02-09 18:33 [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h> Sergei Shtylyov
@ 2011-02-18 20:38 ` Sergei Shtylyov
  2011-02-21 12:13   ` Nori, Sekhar
  2011-02-23 12:01 ` Nori, Sekhar
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2011-02-18 20:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

I wrote:

> Commit 6d803ba736abb5e122dede70a4720e4843dd6df4 (ARM: 6483/1: arm & sh:
> factorised duplicated clkdev.c) caused the following warnings:

> In file included from /home/headless/src/kernel.org/linux-davinci/arch/arm/
> include/asm/clkdev.h:17,
>                  from include/linux/clkdev.h:15,
>                  from arch/arm/mach-davinci/clock.h:71,
>                  from arch/arm/mach-davinci/common.c:22:
> arch/arm/mach-davinci/include/mach/clkdev.h:4: warning: `struct clk' declared
> inside parameter list
> arch/arm/mach-davinci/include/mach/clkdev.h:4: warning: its scope is only this
> definition or declaration, which is probably not what you want
> arch/arm/mach-davinci/include/mach/clkdev.h:9: warning: `struct clk' declared
> inside parameter list

> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

> ---
> The patch is against the recent DaVinci tree.

>  arch/arm/mach-davinci/include/mach/clkdev.h |    2 ++
>  1 file changed, 2 insertions(+)

> Index: linux-davinci/arch/arm/mach-davinci/include/mach/clkdev.h
> ===================================================================
> --- linux-davinci.orig/arch/arm/mach-davinci/include/mach/clkdev.h
> +++ linux-davinci/arch/arm/mach-davinci/include/mach/clkdev.h
> @@ -1,6 +1,8 @@
>  #ifndef __MACH_CLKDEV_H
>  #define __MACH_CLKDEV_H
>  
> +struct clk;
> +
>  static inline int __clk_get(struct clk *clk)
>  {
>  	return 1;

    Kevin, Sekhar, will you apply this?

WBR, Sergei

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

* [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h>
  2011-02-18 20:38 ` Sergei Shtylyov
@ 2011-02-21 12:13   ` Nori, Sekhar
  0 siblings, 0 replies; 4+ messages in thread
From: Nori, Sekhar @ 2011-02-21 12:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sergei,

On Sat, Feb 19, 2011 at 02:08:18, Sergei Shtylyov wrote:

>     Kevin, Sekhar, will you apply this?

Last two weeks were pretty busy for me and there has been
a patch backlog. I started today with testing of Mike's SPI
patches.

I should get to your patches this week itself.

Thanks,
Sekhar

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

* [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h>
  2011-02-09 18:33 [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h> Sergei Shtylyov
  2011-02-18 20:38 ` Sergei Shtylyov
@ 2011-02-23 12:01 ` Nori, Sekhar
  1 sibling, 0 replies; 4+ messages in thread
From: Nori, Sekhar @ 2011-02-23 12:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sergei,

On Thu, Feb 10, 2011 at 00:03:23, Sergei Shtylyov wrote:
> Commit 6d803ba736abb5e122dede70a4720e4843dd6df4 (ARM: 6483/1: arm & sh:
> factorised duplicated clkdev.c) caused the following warnings:
> 
> In file included from /home/headless/src/kernel.org/linux-davinci/arch/arm/
> include/asm/clkdev.h:17,
>                  from include/linux/clkdev.h:15,
>                  from arch/arm/mach-davinci/clock.h:71,
>                  from arch/arm/mach-davinci/common.c:22:
> arch/arm/mach-davinci/include/mach/clkdev.h:4: warning: `struct clk' declared
> inside parameter list
> arch/arm/mach-davinci/include/mach/clkdev.h:4: warning: its scope is only this
> definition or declaration, which is probably not what you want
> arch/arm/mach-davinci/include/mach/clkdev.h:9: warning: `struct clk' declared
> inside parameter list
> 
> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

>  
> +struct clk;
> +
>  static inline int __clk_get(struct clk *clk)
>  {
>  	return 1;

This looks good to me. It should be queued for 2.6.38-rc
Kevin is going to handle the 2.6.38 and 2.6.39 kernels
so will queue this for him.

Thanks,
Sekhar

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

end of thread, other threads:[~2011-02-23 12:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 18:33 [PATCH] DaVinci: fix compilation warnings in <mach/clkdev.h> Sergei Shtylyov
2011-02-18 20:38 ` Sergei Shtylyov
2011-02-21 12:13   ` Nori, Sekhar
2011-02-23 12:01 ` Nori, Sekhar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.