Re: [PATCH 01/64] media: omap3isp: Extract struct group for memcpy() region

Dan Carpenter
2021-07-30T09:01:51Z

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