[U-Boot] [PATCH] zlib: Add further watchdog reset calls

Stefan Roese sr at denx.de
Mon Sep 13 11:28:03 CEST 2010


Hi Wolfgang,

On Thursday 09 September 2010 20:27:08 Wolfgang Denk wrote:
> > +++ b/lib/zlib.c
> > @@ -1599,6 +1599,8 @@ int flush;
> > 
> >              strm->adler = state->check = adler32(0L, Z_NULL, 0);
> >              state->mode = TYPE;
> >          
> >          case TYPE:
> > +         if (strm->outcb != Z_NULL)
> > +                 (*strm->outcb)(Z_NULL, 0); /* call WATCHDOG_RESET */
> > 
> >              if (flush == Z_BLOCK) goto inf_leave;
> 
> Indentation wrong?

Might be. But please see the following patchset, which supersedes this patch:

[PATCH 1/2] zlib/gunzip: Use WATCHDOG_RESET macro
http://www.mail-archive.com/u-boot@lists.denx.de/msg37605.html

[PATCH 2/2 v2] zlib: Add further watchdog reset calls
http://www.mail-archive.com/u-boot@lists.denx.de/msg37606.html

Thanks.

Cheers,
Stefan

--
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


More information about the U-Boot mailing list