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

S, Venkatraman
2011-08-24T18:41:55Z

On Wed, Aug 24, 2011 at 2:08 AM, Sam Ravnborg <sam@ravnborg.org> wrote:
>>
>> I'm still a little confused -- the {0} or memset(0, struct ..);
>> formations are used often in the kernel, even with pointers involved.
>> Is the warning (Wnon_pointer_null) run against the kernel by default,
>> or did Venkatraman add it manually?  If default, is it catching bugs?
>
> Did a quick "allnoconfig" build. With this minimal build the warning only triggered three times.
> So a lot of these has been fixed already.
>
>        Sam
>
I did my typical omap build on mainline and mmc-next and see that the warnings
have increased, and not fixed.
I will post upated patch series.