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/[email protected]/msg37605.html

[PATCH 2/2 v2] zlib: Add further watchdog reset calls
http://www.mail-archive.com/[email protected]/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: [email protected]
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to