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

Sam Ravnborg
2011-08-23T20:38:03Z

>
> 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