All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Markus Klotzbücher" <mk@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fix compilation error in cmd_usb.c
Date: Wed, 26 Mar 2008 18:34:07 +0100	[thread overview]
Message-ID: <87abkl2xv4.fsf@denx.de> (raw)
In-Reply-To: <47EA7E30.20109@denx.de> (Anatolij Gustschin's message of "Wed\, 26 Mar 2008 17\:47\:44 +0100")

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

  reply	other threads:[~2008-03-26 17:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-03-26 23:13 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abkl2xv4.fsf@denx.de \
    --to=mk@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.