Re: [U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-11-21 Thread Tom Rini
On Thu, Nov 08, 2012 at 07:06:31PM -0600, Kim Phillips wrote: > On Thu, 8 Nov 2012 12:20:51 +0100 > Wolfgang Denk wrote: > > > In message <1351553687-12469-14-git-send-email-kim.phill...@freescale.com> > > you wrote: > > > define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of >

Re: [U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-11-08 Thread Kim Phillips
On Thu, 8 Nov 2012 12:20:51 +0100 Wolfgang Denk wrote: > In message <1351553687-12469-14-git-send-email-kim.phill...@freescale.com> > you wrote: > > define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of > > the NULL pointer warnings. > ... > > -#define Z_NULL 0 /* for initiali

Re: [U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-11-08 Thread Wolfgang Denk
Dear Kim Phillips, In message <1351553687-12469-14-git-send-email-kim.phill...@freescale.com> you wrote: > define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of > the NULL pointer warnings. ... > -#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ > +#define Z_NULL

[U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-10-29 Thread Kim Phillips
define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of the NULL pointer warnings. inflate.c:942:1: warning: non-ANSI definition of function 'inflateEnd' inflate.c:9:1: warning: non-ANSI definition of function 'inflateReset' inflate.c:12:17: warning: Using plain integer as NULL poin