public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Fix for Void function returning value in sbc35-a9g20
@ 2009-10-28 23:16 s-paulraj at ti.com
  2009-10-29 16:04 ` Tom
  0 siblings, 1 reply; 3+ messages in thread
From: s-paulraj at ti.com @ 2009-10-28 23:16 UTC (permalink / raw)
  To: u-boot

From: Sandeep Paulraj <s-paulraj@ti.com>

Void function was returning 0 in the m41t94 rtc driver.
This makes it similar to m41t62 rtc driver.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
---
 drivers/rtc/m41t94.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/rtc/m41t94.c b/drivers/rtc/m41t94.c
index 02b41d9..5b665bb 100644
--- a/drivers/rtc/m41t94.c
+++ b/drivers/rtc/m41t94.c
@@ -120,5 +120,4 @@ void rtc_reset(void)
 	 * Could not be tested as the reset pin is not wired on
 	 * the sbc35-ag20 board
 	 */
-	return 0;
 }
-- 
1.6.0.4

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

* [U-Boot] [PATCH] Fix for Void function returning value in sbc35-a9g20
  2009-10-28 23:16 [U-Boot] [PATCH] Fix for Void function returning value in sbc35-a9g20 s-paulraj at ti.com
@ 2009-10-29 16:04 ` Tom
  2009-11-23 22:49   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Tom @ 2009-10-29 16:04 UTC (permalink / raw)
  To: u-boot

s-paulraj at ti.com wrote:
> From: Sandeep Paulraj <s-paulraj@ti.com>
> 
> Void function was returning 0 in the m41t94 rtc driver.
> This makes it similar to m41t62 rtc driver.
> 
> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
> ---
>  drivers/rtc/m41t94.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/rtc/m41t94.c b/drivers/rtc/m41t94.c
> index 02b41d9..5b665bb 100644
> --- a/drivers/rtc/m41t94.c
> +++ b/drivers/rtc/m41t94.c
> @@ -120,5 +120,4 @@ void rtc_reset(void)
>  	 * Could not be tested as the reset pin is not wired on
>  	 * the sbc35-ag20 board
>  	 */
> -	return 0;
>  }

Yes this does kill the warning.
Ack-ed

pushed to arm/next.
Tom

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

* [U-Boot] [PATCH] Fix for Void function returning value in sbc35-a9g20
  2009-10-29 16:04 ` Tom
@ 2009-11-23 22:49   ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2009-11-23 22:49 UTC (permalink / raw)
  To: u-boot

Dear Tom,

In message <4AE9BD13.5010001@windriver.com> you wrote:
> s-paulraj at ti.com wrote:
> > From: Sandeep Paulraj <s-paulraj@ti.com>
> > 
> > Void function was returning 0 in the m41t94 rtc driver.
> > This makes it similar to m41t62 rtc driver.
> > 
> > Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
> > ---
> >  drivers/rtc/m41t94.c |    1 -
> >  1 files changed, 0 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/rtc/m41t94.c b/drivers/rtc/m41t94.c
> > index 02b41d9..5b665bb 100644
> > --- a/drivers/rtc/m41t94.c
> > +++ b/drivers/rtc/m41t94.c
> > @@ -120,5 +120,4 @@ void rtc_reset(void)
> >  	 * Could not be tested as the reset pin is not wired on
> >  	 * the sbc35-ag20 board
> >  	 */
> > -	return 0;
> >  }
> 
> Yes this does kill the warning.
> Ack-ed
> 
> pushed to arm/next.

Why next? This is a bug fix, isn't it? Let's include it now.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Niklaus Wirth has lamented that, whereas Europeans pronounce his name
correctly (Ni-klows Virt), Americans invariably mangle it into (Nick-
les Worth). Which is to say that Europeans  call  him  by  name,  but
Americans call him by value.

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

end of thread, other threads:[~2009-11-23 22:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 23:16 [U-Boot] [PATCH] Fix for Void function returning value in sbc35-a9g20 s-paulraj at ti.com
2009-10-29 16:04 ` Tom
2009-11-23 22:49   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox