diff options
| author | Shirish S <[email protected]> | 2018-12-20 10:34:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-14 20:04:46 +0000 |
| commit | 05794eff1aa6060248bfca34ee936c613f94a942 (patch) | |
| tree | 22c7d8618ac4534a3573b48c1699fb327b598819 /drivers/gpu/drm/amd/amdgpu/tonga_ih.c | |
| parent | drm/amd/display: Fix 64-bit division for 32-bit builds (diff) | |
| download | kernel-05794eff1aa6060248bfca34ee936c613f94a942.tar.gz kernel-05794eff1aa6060248bfca34ee936c613f94a942.zip | |
drm/amdgpu/gmc: fix compiler errors [-Werror,-Wmissing-braces] (V2)
Initializing structures with { } is known to be problematic since
it doesn't necessararily initialize all bytes, in case of padding,
causing random failures when structures are memcmp().
This patch fixes the structure initialisation related compiler
error by memset().
V2: rectified missing piece in coding
Signed-off-by: Shirish S <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/tonga_ih.c')
0 files changed, 0 insertions, 0 deletions
