mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 12:10:38 -04:00
drm/vmwgfx: Clear uninitialized fields of a parameter
The uninitialized field is not currently used, but might be in the future, and static analyzers complain. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
committed by
Sinclair Yeh
parent
f0493e653f
commit
8cd9f25147
@@ -757,7 +757,7 @@ static int vmw_create_dmabuf_proxy(struct drm_device *dev,
|
||||
struct vmw_surface **srf_out)
|
||||
{
|
||||
uint32_t format;
|
||||
struct drm_vmw_size content_base_size;
|
||||
struct drm_vmw_size content_base_size = {0};
|
||||
struct vmw_resource *res;
|
||||
unsigned int bytes_pp;
|
||||
struct drm_format_name_buf format_name;
|
||||
|
||||
Reference in New Issue
Block a user