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

Dan Carpenter dan.carpenter at oracle.com
Fri Jul 30 09:00:54 UTC 2021


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


More information about the dri-devel mailing list