* [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed under DEBUG_FS
@ 2009-12-17 15:30 hvaibhav
2009-12-22 11:59 ` [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed Tomi Valkeinen
0 siblings, 1 reply; 4+ messages in thread
From: hvaibhav @ 2009-12-17 15:30 UTC (permalink / raw)
To: tomi.valkeinen
Cc: linux-omap, linux-fbdev-devel, linux-fbdev, Vaibhav Hiremath
From: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
drivers/video/omap2/dss/core.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c
index 29497a0..2fabaf2 100644
--- a/drivers/video/omap2/dss/core.c
+++ b/drivers/video/omap2/dss/core.c
@@ -124,6 +124,7 @@ static void restore_all_ctx(void)
dss_clk_disable_all_no_ctx();
}
+#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT)
/* CLOCKS */
static void core_dump_clocks(struct seq_file *s)
{
@@ -149,6 +150,7 @@ static void core_dump_clocks(struct seq_file *s)
clocks[i]->usecount);
}
}
+#endif /* defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) */
static int dss_get_clock(struct clk **clock, const char *clk_name)
{
--
1.6.2.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed
2009-12-17 15:30 [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed under DEBUG_FS hvaibhav
@ 2009-12-22 11:59 ` Tomi Valkeinen
2009-12-23 16:46 ` Hiremath, Vaibhav
0 siblings, 1 reply; 4+ messages in thread
From: Tomi Valkeinen @ 2009-12-22 11:59 UTC (permalink / raw)
To: ext hvaibhav@ti.com
Cc: linux-omap@vger.kernel.org,
linux-fbdev-devel@lists.sourceforge.net,
linux-fbdev@vger.kernel.org
Hi,
On Thu, 2009-12-17 at 16:18 +0100, ext hvaibhav@ti.com wrote:
> From: Vaibhav Hiremath <hvaibhav@ti.com>
>
>
> Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Which warning does this fix? I don't get any compiler warnings.
Can you change the name of the patch to a more standard one?
Tomi
> ---
> drivers/video/omap2/dss/core.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c
> index 29497a0..2fabaf2 100644
> --- a/drivers/video/omap2/dss/core.c
> +++ b/drivers/video/omap2/dss/core.c
> @@ -124,6 +124,7 @@ static void restore_all_ctx(void)
> dss_clk_disable_all_no_ctx();
> }
>
> +#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT)
> /* CLOCKS */
> static void core_dump_clocks(struct seq_file *s)
> {
> @@ -149,6 +150,7 @@ static void core_dump_clocks(struct seq_file *s)
> clocks[i]->usecount);
> }
> }
> +#endif /* defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) */
>
> static int dss_get_clock(struct clk **clock, const char *clk_name)
> {
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed
2009-12-22 11:59 ` [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed Tomi Valkeinen
@ 2009-12-23 16:46 ` Hiremath, Vaibhav
2010-01-04 9:42 ` Tomi Valkeinen
0 siblings, 1 reply; 4+ messages in thread
From: Hiremath, Vaibhav @ 2009-12-23 16:46 UTC (permalink / raw)
To: Tomi Valkeinen
Cc: linux-omap@vger.kernel.org,
linux-fbdev-devel@lists.sourceforge.net,
linux-fbdev@vger.kernel.org
> -----Original Message-----
> From: Tomi Valkeinen [mailto:tomi.valkeinen@nokia.com]
> Sent: Tuesday, December 22, 2009 5:29 PM
> To: Hiremath, Vaibhav
> Cc: linux-omap@vger.kernel.org; linux-fbdev-
> devel@lists.sourceforge.net; linux-fbdev@vger.kernel.org
> Subject: Re: [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks
> enclosed under DEBUG_FS
>
> Hi,
>
> On Thu, 2009-12-17 at 16:18 +0100, ext hvaibhav@ti.com wrote:
> > From: Vaibhav Hiremath <hvaibhav@ti.com>
> >
> >
> > Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
>
> Which warning does this fix? I don't get any compiler warnings.
>
[Hiremath, Vaibhav] Below is the log -
CC drivers/video/omap2/dss/core.o
drivers/video/omap2/dss/core.c:129: warning: 'core_dump_clocks' defined but not used
CC drivers/video/omap2/dss/dss.o
> Can you change the name of the patch to a more standard one?
>
[Hiremath, Vaibhav] Ok, will do that and resubmit. I believe only prefix "OMAP" should do.
Thanks,
Vaibhav
> Tomi
>
> > ---
> > drivers/video/omap2/dss/core.c | 2 ++
> > 1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/video/omap2/dss/core.c
> b/drivers/video/omap2/dss/core.c
> > index 29497a0..2fabaf2 100644
> > --- a/drivers/video/omap2/dss/core.c
> > +++ b/drivers/video/omap2/dss/core.c
> > @@ -124,6 +124,7 @@ static void restore_all_ctx(void)
> > dss_clk_disable_all_no_ctx();
> > }
> >
> > +#if defined(CONFIG_DEBUG_FS) &&
> defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT)
> > /* CLOCKS */
> > static void core_dump_clocks(struct seq_file *s)
> > {
> > @@ -149,6 +150,7 @@ static void core_dump_clocks(struct seq_file
> *s)
> > clocks[i]->usecount);
> > }
> > }
> > +#endif /* defined(CONFIG_DEBUG_FS) &&
> defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) */
> >
> > static int dss_get_clock(struct clk **clock, const char
> *clk_name)
> > {
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed
2009-12-23 16:46 ` Hiremath, Vaibhav
@ 2010-01-04 9:42 ` Tomi Valkeinen
0 siblings, 0 replies; 4+ messages in thread
From: Tomi Valkeinen @ 2010-01-04 9:42 UTC (permalink / raw)
To: ext Hiremath, Vaibhav
Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org
On Wed, 2009-12-23 at 17:34 +0100, ext Hiremath, Vaibhav wrote:
> > -----Original Message-----
> > From: Tomi Valkeinen [mailto:tomi.valkeinen@nokia.com]
> > Sent: Tuesday, December 22, 2009 5:29 PM
> > To: Hiremath, Vaibhav
> > Cc: linux-omap@vger.kernel.org; linux-fbdev-
> > devel@lists.sourceforge.net; linux-fbdev@vger.kernel.org
> > Subject: Re: [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks
> > enclosed under DEBUG_FS
> >
> > Hi,
> >
> > On Thu, 2009-12-17 at 16:18 +0100, ext hvaibhav@ti.com wrote:
> > > From: Vaibhav Hiremath <hvaibhav@ti.com>
> > >
> > >
> > > Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
> >
> > Which warning does this fix? I don't get any compiler warnings.
> >
> [Hiremath, Vaibhav] Below is the log -
>
>
> CC drivers/video/omap2/dss/core.o
> drivers/video/omap2/dss/core.c:129: warning: 'core_dump_clocks' defined but not used
> CC drivers/video/omap2/dss/dss.o
Ok. For some reason my compiler doesn't warn about that.
>
> > Can you change the name of the patch to a more standard one?
> >
> [Hiremath, Vaibhav] Ok, will do that and resubmit. I believe only prefix "OMAP" should do.
Something like:
OMAP: DSS2: fix compile warning
Tomi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-04 9:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 15:30 [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed under DEBUG_FS hvaibhav
2009-12-22 11:59 ` [PATCH 1/5] dss2-core:Warning Fix: core_dump_clocks enclosed Tomi Valkeinen
2009-12-23 16:46 ` Hiremath, Vaibhav
2010-01-04 9:42 ` Tomi Valkeinen
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).