Re: [PATCH 2/2] mmc: fix integer assignments to pointer

2011-08-23 Thread Ben Pfaff
Josh Triplett writes: > On Tue, Aug 23, 2011 at 11:04:08AM -0700, Ben Pfaff wrote: >> Josh Triplett writes: >> >> > On Tue, Aug 23, 2011 at 12:31:55PM -0400, Chris Ball wrote: >> >> On Tue, Aug 23 2011, Venkatraman S wrote: >> >> > - s

Re: [PATCH 2/2] mmc: fix integer assignments to pointer

2011-08-23 Thread Ben Pfaff
rstandable position, but I think it would also be reasonable for sparse to special case using {0} as an initializer. {0} is a valid initializer for every type and so it's sometimes used as an initializer for a local variable to get the same effect that one would have for a static variable witho