On Fri, Jul 30, 2021 at 10:38:45AM +0200, David Sterba wrote:
Then is explicit memset the only reliable way accross all compiler flavors and supported versions?
The = { } initializer works. It's only when you start partially initializing the struct that it doesn't initialize holes.
regards, dan carpenter