On Thu, Apr 6, 2017 at 4:00 PM, Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> wrote: > The C standard requires that, when initializing an aggregate, all > fieds not explicitly initialized shall be implicity zero-initialized Note the "all fields". Which is not the same as "the whole aggregate" which is what you do. The parts that don't have fields at all are undefined. I think your patch is fine, and you might as well clear the whole backing store, but I think strictly speaking you're initializing more than what the standard says. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html