Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message <011301ca2c7a$b5d83c40$c0818...@st.com> you wrote: > > > What happens when we return here? Obviously this function is supposed > > to never return. Should we call hang() here? > > Given that z_error is invoked by Assert macro (never used) and that "exit" > fu

Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Giuseppe CONDORELLI
eptember 03, 2009 10:26 AM To: Giuseppe CONDORELLI Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined Dear Giuseppe CONDORELLI, In message <1251970209-9053-1-git-send-email-giuseppe.condore...@st.com> you wrote: > Removed stdio.h inclusion and mov

Re: [U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message <1251970209-9053-1-git-send-email-giuseppe.condore...@st.com> you wrote: > Removed stdio.h inclusion and moved trace macros to use printf avoiding to > write debug informations to standard error. > > Signed-off-by: Giuseppe Condorelli > --- > lib_generic/zl

[U-Boot] [PATCH v2] zlib: fix code when DEBUG is defined

2009-09-03 Thread Giuseppe CONDORELLI
Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli --- lib_generic/zlib.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_generic/zlib.c b/lib_generic/zlib.c ind