From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 13 Sep 2010 11:28:03 +0200 Subject: [U-Boot] [PATCH] zlib: Add further watchdog reset calls In-Reply-To: <20100909182708.233B1153798@gemini.denx.de> References: <1283274708-32533-1-git-send-email-sr@denx.de> <20100909182708.233B1153798@gemini.denx.de> Message-ID: <201009131128.03831.sr@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 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 at lists.denx.de/msg37605.html [PATCH 2/2 v2] zlib: Add further watchdog reset calls http://www.mail-archive.com/u-boot at 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