* [U-Boot-Users] tftp warning/error?
@ 2008-02-13 20:57 Kumar Gala
2008-02-14 6:54 ` Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 14:41 ` [U-Boot-Users] tftp warning/error? Ben Warren
0 siblings, 2 replies; 7+ messages in thread
From: Kumar Gala @ 2008-02-13 20:57 UTC (permalink / raw)
To: u-boot
'TFTP: add host ip addr support' commit added this bit of code which
seems bogus:
} else {
char *p = strchr (p, ':');
Is this really correct?
- k
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftp warning/error?
2008-02-13 20:57 [U-Boot-Users] tftp warning/error? Kumar Gala
@ 2008-02-14 6:54 ` Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 7:02 ` [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 14:41 ` [U-Boot-Users] tftp warning/error? Ben Warren
1 sibling, 1 reply; 7+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-02-14 6:54 UTC (permalink / raw)
To: u-boot
On 14:57 Wed 13 Feb , Kumar Gala wrote:
> 'TFTP: add host ip addr support' commit added this bit of code which seems
> bogus:
>
> } else {
> char *p = strchr (p, ':');
>
> Is this really correct?
No, it this
- char *p = strchr (p, ':');
+ char *p = strchr (BootFile, ':');
Best Regards,
J.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile
2008-02-14 6:54 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-02-14 7:02 ` Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 7:34 ` Kumar Gala
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-02-14 7:02 UTC (permalink / raw)
To: u-boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
diff --git a/net/tftp.c b/net/tftp.c
index 3dd2b06..ea8fea2 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -474,7 +474,7 @@ TftpStart (void)
printf ("*** Warning: no boot file name; using '%s'\n",
tftp_filename);
} else {
- char *p = strchr (p, ':');
+ char *p = strchr (BootFile, ':');
if (p == NULL) {
strncpy(tftp_filename, BootFile, MAX_LEN);
--
1.5.3.7
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile
2008-02-14 7:02 ` [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile Jean-Christophe PLAGNIOL-VILLARD
@ 2008-02-14 7:34 ` Kumar Gala
2008-02-14 22:10 ` Wolfgang Denk
2008-02-14 22:19 ` Wolfgang Denk
2 siblings, 0 replies; 7+ messages in thread
From: Kumar Gala @ 2008-02-14 7:34 UTC (permalink / raw)
To: u-boot
Wolfgang,
Can you pick this up as its a clear bug fix.
- k
On Feb 14, 2008, at 1:02 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> <plagnioj@jcrosoft.com>
>
> diff --git a/net/tftp.c b/net/tftp.c
> index 3dd2b06..ea8fea2 100644
> --- a/net/tftp.c
> +++ b/net/tftp.c
> @@ -474,7 +474,7 @@ TftpStart (void)
> printf ("*** Warning: no boot file name; using '%s'\n",
> tftp_filename);
> } else {
> - char *p = strchr (p, ':');
> + char *p = strchr (BootFile, ':');
>
> if (p == NULL) {
> strncpy(tftp_filename, BootFile, MAX_LEN);
> --
> 1.5.3.7
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftp warning/error?
2008-02-13 20:57 [U-Boot-Users] tftp warning/error? Kumar Gala
2008-02-14 6:54 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-02-14 14:41 ` Ben Warren
1 sibling, 0 replies; 7+ messages in thread
From: Ben Warren @ 2008-02-14 14:41 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> 'TFTP: add host ip addr support' commit added this bit of code which
> seems bogus:
>
> } else {
> char *p = strchr (p, ':');
>
> Is this really correct?
>
> - k
>
>
That's F-d up. The patches I have are like this:
- tftp_filename = BootFile;
+ char *p=BootFile;
+ p = strchr (p, ':');
but never got pulled into the net branch. I guess Wolfgang must have
pulled directly. C'mon patch management system!!!
cheers,
Ben
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile
2008-02-14 7:02 ` [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 7:34 ` Kumar Gala
@ 2008-02-14 22:10 ` Wolfgang Denk
2008-02-14 22:19 ` Wolfgang Denk
2 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2008-02-14 22:10 UTC (permalink / raw)
To: u-boot
In message <1202972532-17372-1-git-send-email-plagnioj@jcrosoft.com> you wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>
> diff --git a/net/tftp.c b/net/tftp.c
> index 3dd2b06..ea8fea2 100644
> --- a/net/tftp.c
> +++ b/net/tftp.c
> @@ -474,7 +474,7 @@ TftpStart (void)
> printf ("*** Warning: no boot file name; using '%s'\n",
> tftp_filename);
> } else {
> - char *p = strchr (p, ':');
> + char *p = strchr (BootFile, ':');
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
"Bureaucracy is the enemy of innovation."
- Mark Shepherd, former President and CEO of Texas Instruments
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile
2008-02-14 7:02 ` [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 7:34 ` Kumar Gala
2008-02-14 22:10 ` Wolfgang Denk
@ 2008-02-14 22:19 ` Wolfgang Denk
2 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2008-02-14 22:19 UTC (permalink / raw)
To: u-boot
In message <1202972532-17372-1-git-send-email-plagnioj@jcrosoft.com> you wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>
> diff --git a/net/tftp.c b/net/tftp.c
> index 3dd2b06..ea8fea2 100644
> --- a/net/tftp.c
> +++ b/net/tftp.c
> @@ -474,7 +474,7 @@ TftpStart (void)
> printf ("*** Warning: no boot file name; using '%s'\n",
> tftp_filename);
> } else {
> - char *p = strchr (p, ':');
> + char *p = strchr (BootFile, ':');
>
> if (p == NULL) {
> strncpy(tftp_filename, BootFile, MAX_LEN);
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
If only God would give me some clear sign! Like making a large depo-
sit in my name at a Swiss Bank. - Woody Allen
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-14 22:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13 20:57 [U-Boot-Users] tftp warning/error? Kumar Gala
2008-02-14 6:54 ` Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 7:02 ` [U-Boot-Users] [PATCH] TFTP: fix search of ':' in BootFile Jean-Christophe PLAGNIOL-VILLARD
2008-02-14 7:34 ` Kumar Gala
2008-02-14 22:10 ` Wolfgang Denk
2008-02-14 22:19 ` Wolfgang Denk
2008-02-14 14:41 ` [U-Boot-Users] tftp warning/error? Ben Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox