All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] catch wrong load address passed to fatload / ext2load
Date: Wed, 9 Jul 2014 23:07:56 +0200	[thread overview]
Message-ID: <201407092307.56541.marex@denx.de> (raw)
In-Reply-To: <20140709204257.GA28671@amd.pavel.ucw.cz>

On Wednesday, July 09, 2014 at 10:42:57 PM, Pavel Machek wrote:
> If filename is passed instead of address to ext2load or fatload,
> u-boot silently accepts that, and uses 0 for load address and default
> filename from environment. That is confusing, display help instead.
> 
> Signed-off-by: Pavel Machek <pavel@denx.de>

The handling of simple_strtoul() in fs.c could use improvement like this in 
general. Do you mind expanding this patch ?

Best regards,
Marek Vasut

  parent reply	other threads:[~2014-07-09 21:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 20:42 [U-Boot] [PATCH] catch wrong load address passed to fatload / ext2load Pavel Machek
2014-07-09 20:46 ` Pavel Machek
2014-07-09 21:07 ` Marek Vasut [this message]
2014-07-09 22:57   ` Pavel Machek
2014-07-09 23:08 ` Wolfgang Denk
2014-07-09 23:12   ` Pavel Machek
2014-07-22 19:22 ` [U-Boot] " Tom Rini

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=201407092307.56541.marex@denx.de \
    --to=marex@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.