From: Wolfgang Denk Date: Tue, 20 Dec 2011 23:13:18 +0100 Subject: [U-Boot] [PATCH v2] net: Fix arguments in tftpput command In-Reply-To: <1324347043-29184-1-git-send-email-sjg@chromium.org> References: <1324347043-29184-1-git-send-email-sjg@chromium.org> Message-ID: <20111220221318.1187919E5E2D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, In message <1324347043-29184-1-git-send-email-sjg@chromium.org> you wrote: > The switch to strict_strtoul() was not done correctly - this fixes > the compile error when CONFIG_CMD_TFTPPUT is active. > > There appears to very little use of strict_strtoul() in commands, so > it might be easier to switch to simple_strtoul(). If not, we should > decide the best way to use strict_strtoul(). For now I have added a > friendly message which will of course increase code size. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Check return value and print friendly message if incorrect > > common/cmd_net.c | 7 +++++-- > 1 files changed, 5 insertions(+), 2 deletions(-) Applied, thanks. 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 "Here's a fish hangs in the net like a poor man's right in the law. 'Twill hardly come out." - Shakespeare, Pericles, Act II, Scene 1