public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c
@ 2008-03-26 16:47 Anatolij Gustschin
  2008-03-26 17:34 ` Markus Klotzbücher
  2008-03-26 23:13 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Anatolij Gustschin @ 2008-03-26 16:47 UTC (permalink / raw)
  To: u-boot

This patch fixes compilation error
cmd_usb.c: In function 'do_usb':
cmd_usb.c:552: error: void value not ignored as it ought to be

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 include/usb.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/usb.h b/include/usb.h
index 4e1539f..5a6ffdd 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -195,7 +195,7 @@ void usb_event_poll(void);
 #define USB_MAX_STOR_DEV 5
 block_dev_desc_t *usb_stor_get_dev(int index);
 int usb_stor_scan(int mode);
-void usb_stor_info(void);
+int usb_stor_info(void);
 
 #endif
 
-- 
1.5.3.3

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

* [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c
  2008-03-26 16:47 [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c Anatolij Gustschin
@ 2008-03-26 17:34 ` Markus Klotzbücher
  2008-03-26 23:13 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Markus Klotzbücher @ 2008-03-26 17:34 UTC (permalink / raw)
  To: u-boot

Hi Anatolij,

Anatolij Gustschin <agust@denx.de> writes:

> This patch fixes compilation error
> cmd_usb.c: In function 'do_usb':
> cmd_usb.c:552: error: void value not ignored as it ought to be
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  include/usb.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/usb.h b/include/usb.h
> index 4e1539f..5a6ffdd 100644
> --- a/include/usb.h
> +++ b/include/usb.h
> @@ -195,7 +195,7 @@ void usb_event_poll(void);
>  #define USB_MAX_STOR_DEV 5
>  block_dev_desc_t *usb_stor_get_dev(int index);
>  int usb_stor_scan(int mode);
> -void usb_stor_info(void);
> +int usb_stor_info(void);
>  
>  #endif

Argh, thanks for pointing out. This was actually part of the original
patch but for some reason it got lost.

Good to see somebody is actually testing this :-)

Best regards

Markus Klotzbuecher

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de

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

* [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c
  2008-03-26 16:47 [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c Anatolij Gustschin
  2008-03-26 17:34 ` Markus Klotzbücher
@ 2008-03-26 23:13 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-03-26 23:13 UTC (permalink / raw)
  To: u-boot

In message <47EA7E30.20109@denx.de> you wrote:
> This patch fixes compilation error
> cmd_usb.c: In function 'do_usb':
> cmd_usb.c:552: error: void value not ignored as it ought to be
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Thanks a lot, Anatolij!

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
"...this does not mean that some of us should not want, in  a  rather
dispassionate sort of way, to put a bullet through csh's head."
                   - Larry Wall in <1992Aug6.221512.5963@netlabs.com>

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

end of thread, other threads:[~2008-03-26 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 16:47 [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c Anatolij Gustschin
2008-03-26 17:34 ` Markus Klotzbücher
2008-03-26 23:13 ` Wolfgang Denk

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