All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH]  Fix: watchdog timed out, if using md5 command
@ 2011-07-18 12:39 Jens Scharsig
  2011-07-26 12:36 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Scharsig @ 2011-07-18 12:39 UTC (permalink / raw)
  To: u-boot

* Fix: if using md5 command watchdog timed out
* change function call md5(..) to the watchdog-safe variant
  md5_wd(..) to support watchdog reset


Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
---
 common/cmd_md5sum.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/cmd_md5sum.c b/common/cmd_md5sum.c
index d6ebb80..629a74d 100644
--- a/common/cmd_md5sum.c
+++ b/common/cmd_md5sum.c
@@ -37,7 +37,7 @@ static int do_md5sum(cmd_tbl_t *cmdtp, int flag, int
argc, char * const argv[])
 	addr = simple_strtoul(argv[1], NULL, 16);
 	len = simple_strtoul(argv[2], NULL, 16);

-	md5((unsigned char *) addr, len, output);
+	md5_wd((unsigned char *) addr, len, output, CHUNKSZ_MD5);
 	printf("md5 for %08lx ... %08lx ==> ", addr, addr + len - 1);
 	for (i = 0; i < 16; i++)
 		printf("%02x", output[i]);
-- 
1.7.3.4

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

* [U-Boot] [PATCH] Fix: watchdog timed out, if using md5 command
  2011-07-18 12:39 [U-Boot] [PATCH] Fix: watchdog timed out, if using md5 command Jens Scharsig
@ 2011-07-26 12:36 ` Wolfgang Denk
  2011-07-26 14:01   ` Jens Scharsig
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2011-07-26 12:36 UTC (permalink / raw)
  To: u-boot

Dear Jens Scharsig,

In message <4E24296F.6060907@bus-elektronik.de> you wrote:
> * Fix: if using md5 command watchdog timed out
> * change function call md5(..) to the watchdog-safe variant
>   md5_wd(..) to support watchdog reset
> 
> 
> Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
> ---
>  common/cmd_md5sum.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/cmd_md5sum.c b/common/cmd_md5sum.c
> index d6ebb80..629a74d 100644
> --- a/common/cmd_md5sum.c
> +++ b/common/cmd_md5sum.c
> @@ -37,7 +37,7 @@ static int do_md5sum(cmd_tbl_t *cmdtp, int flag, int
> argc, char * const argv[])


Arghhh.  Line wrapped, too.

This is the last time I'm gonna fix your patches.  PLEASE fix your
mailer!


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
Good morning. This is the telephone company. Due  to  repairs,  we're
giving  you  advance notice that your service will be cut off indefi-
nitely at ten o'clock. That's two minutes from now.

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

* [U-Boot] [PATCH] Fix: watchdog timed out, if using md5 command
  2011-07-26 12:36 ` Wolfgang Denk
@ 2011-07-26 14:01   ` Jens Scharsig
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Scharsig @ 2011-07-26 14:01 UTC (permalink / raw)
  To: u-boot

Dear Wolfgang Denk:
> Dear Jens Scharsig,
>
> Arghhh.  Line wrapped, too.
>
> This is the last time I'm gonna fix your patches.  PLEASE fix your
> mailer!
>

Sorry about the trouble.
I have many times the word wrap will be deactivated. Our admin will
reset this option on each update.

On future patches i will watch this and use git to send mail.

Best regards

Jens Scharsig

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

end of thread, other threads:[~2011-07-26 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-18 12:39 [U-Boot] [PATCH] Fix: watchdog timed out, if using md5 command Jens Scharsig
2011-07-26 12:36 ` Wolfgang Denk
2011-07-26 14:01   ` Jens Scharsig

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.