* RE: [PATCH V2]omap: mux.c warning removal
@ 2010-05-07 6:47 Munegowda, Keshava
2010-05-10 16:11 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Munegowda, Keshava @ 2010-05-07 6:47 UTC (permalink / raw)
To: linux-omap@vger.kernel.org, tony@atomide.com
From: Keshava Munegowda <a0393220@ti.com>
This patch removes the below warning
arch/arm/mach-omap2/mux.c:52: warning: 'mux_phys' defined but not used
The definition of variable mux_phys should be enclosed in the macro CONFIG_ARCH_OMAP3
Signed-off-by: Keshava Munegowda <a0393220@ti.com>
Index: linux-2.6/arch/arm/mach-omap2/mux.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-omap2/mux.c 2010-05-05 23:59:19.000000000 +0530
+++ linux-2.6/arch/arm/mach-omap2/mux.c 2010-05-06 00:00:07.000000000 +0530
@@ -49,7 +49,7 @@
struct list_head node;
};
-static unsigned long mux_phys;
+
static void __iomem *mux_base;
u16 omap_mux_read(u16 reg)
@@ -373,6 +373,7 @@
#ifdef CONFIG_ARCH_OMAP3
static LIST_HEAD(muxmodes);
static DEFINE_MUTEX(muxmode_mutex);
+static unsigned long mux_phys;
#ifdef CONFIG_OMAP_MUX
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V2]omap: mux.c warning removal
2010-05-07 6:47 [PATCH V2]omap: mux.c warning removal Munegowda, Keshava
@ 2010-05-10 16:11 ` Kevin Hilman
2010-05-10 22:30 ` Tony Lindgren
2010-05-11 10:30 ` Munegowda, Keshava
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Hilman @ 2010-05-10 16:11 UTC (permalink / raw)
To: Munegowda, Keshava; +Cc: linux-omap@vger.kernel.org, tony@atomide.com
"Munegowda, Keshava" <keshava_mgowda@ti.com> writes:
> From: Keshava Munegowda <a0393220@ti.com>
>
> This patch removes the below warning
> arch/arm/mach-omap2/mux.c:52: warning: 'mux_phys' defined but not used
> The definition of variable mux_phys should be enclosed in the macro CONFIG_ARCH_OMAP3
>
> Signed-off-by: Keshava Munegowda <a0393220@ti.com>
Thanks, this version looks better.
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
One silly question though... is your a0....@ti.com address the one you
want as your From: and Signed-off-by? Since the mail actually comes
from a more human readable address, I'm guessing that would be
preferred? If so, create a ~/.gitconfig file and add this:
[user]
name = Keshava Munegowda
email = keshava_mgowda@ti.com
This way, all your local git commands will use this name/email in your
git commits, sign-offs etc.
Kevin
> Index: linux-2.6/arch/arm/mach-omap2/mux.c
> ===================================================================
> --- linux-2.6.orig/arch/arm/mach-omap2/mux.c 2010-05-05 23:59:19.000000000 +0530
> +++ linux-2.6/arch/arm/mach-omap2/mux.c 2010-05-06 00:00:07.000000000 +0530
> @@ -49,7 +49,7 @@
> struct list_head node;
> };
>
> -static unsigned long mux_phys;
> +
> static void __iomem *mux_base;
>
> u16 omap_mux_read(u16 reg)
> @@ -373,6 +373,7 @@
> #ifdef CONFIG_ARCH_OMAP3
> static LIST_HEAD(muxmodes);
> static DEFINE_MUTEX(muxmode_mutex);
> +static unsigned long mux_phys;
>
> #ifdef CONFIG_OMAP_MUX
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V2]omap: mux.c warning removal
2010-05-10 16:11 ` Kevin Hilman
@ 2010-05-10 22:30 ` Tony Lindgren
2010-05-11 10:30 ` Munegowda, Keshava
1 sibling, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-05-10 22:30 UTC (permalink / raw)
To: Kevin Hilman; +Cc: Munegowda, Keshava, linux-omap@vger.kernel.org
* Kevin Hilman <khilman@deeprootsystems.com> [100510 09:07]:
> "Munegowda, Keshava" <keshava_mgowda@ti.com> writes:
>
> > From: Keshava Munegowda <a0393220@ti.com>
> >
> > This patch removes the below warning
> > arch/arm/mach-omap2/mux.c:52: warning: 'mux_phys' defined but not used
> > The definition of variable mux_phys should be enclosed in the macro CONFIG_ARCH_OMAP3
> >
> > Signed-off-by: Keshava Munegowda <a0393220@ti.com>
>
> Thanks, this version looks better.
Nothing wrong with this patch. But it will need to be reverted
as soon as omap24xx mux code is updated. And that's going to
happen as soon as I have a chance.
So let's just keep the warning for now.
Regards,
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH V2]omap: mux.c warning removal
2010-05-10 16:11 ` Kevin Hilman
2010-05-10 22:30 ` Tony Lindgren
@ 2010-05-11 10:30 ` Munegowda, Keshava
1 sibling, 0 replies; 4+ messages in thread
From: Munegowda, Keshava @ 2010-05-11 10:30 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-omap@vger.kernel.org, tony@atomide.com
> -----Original Message-----
> From: Kevin Hilman [mailto:khilman@deeprootsystems.com]
> Sent: Monday, May 10, 2010 9:42 PM
> To: Munegowda, Keshava
> Cc: linux-omap@vger.kernel.org; tony@atomide.com
> Subject: Re: [PATCH V2]omap: mux.c warning removal
>
> "Munegowda, Keshava" <keshava_mgowda@ti.com> writes:
>
> > From: Keshava Munegowda <a0393220@ti.com>
> >
> > This patch removes the below warning
> > arch/arm/mach-omap2/mux.c:52: warning: 'mux_phys' defined but not used
> > The definition of variable mux_phys should be enclosed in the macro CONFIG_ARCH_OMAP3
> >
> > Signed-off-by: Keshava Munegowda <a0393220@ti.com>
>
> Thanks, this version looks better.
>
> Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
>
>
> One silly question though... is your a0....@ti.com address the one you
> want as your From: and Signed-off-by? Since the mail actually comes
> from a more human readable address, I'm guessing that would be
> preferred? If so, create a ~/.gitconfig file and add this:
>
> [user]
> name = Keshava Munegowda
> email = keshava_mgowda@ti.com
>
> This way, all your local git commands will use this name/email in your
> git commits, sign-offs etc.
>
>
Thanks Kevin, I will keep this configuration.
Keshava Munegowda
>
>
>
>
>
>
> > Index: linux-2.6/arch/arm/mach-omap2/mux.c
> > ===================================================================
> > --- linux-2.6.orig/arch/arm/mach-omap2/mux.c 2010-05-05 23:59:19.000000000 +0530
> > +++ linux-2.6/arch/arm/mach-omap2/mux.c 2010-05-06 00:00:07.000000000 +0530
> > @@ -49,7 +49,7 @@
> > struct list_head node;
> > };
> >
> > -static unsigned long mux_phys;
> > +
> > static void __iomem *mux_base;
> >
> > u16 omap_mux_read(u16 reg)
> > @@ -373,6 +373,7 @@
> > #ifdef CONFIG_ARCH_OMAP3
> > static LIST_HEAD(muxmodes);
> > static DEFINE_MUTEX(muxmode_mutex);
> > +static unsigned long mux_phys;
> >
> > #ifdef CONFIG_OMAP_MUX
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-11 10:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 6:47 [PATCH V2]omap: mux.c warning removal Munegowda, Keshava
2010-05-10 16:11 ` Kevin Hilman
2010-05-10 22:30 ` Tony Lindgren
2010-05-11 10:30 ` Munegowda, Keshava
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox