diff options
| author | Noralf Trønnes <[email protected]> | 2017-02-23 13:29:55 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2017-02-24 02:08:58 +0000 |
| commit | b401f34314db7c60e6d23ee7771cd090b4ef56c1 (patch) | |
| tree | 74866bca0c2b4c2d4e2b07c3cdd997f9bf621fa9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | Merge branch 'drm-next-4.11' of git://people.freedesktop.org/~agd5f/linux int... (diff) | |
| download | kernel-b401f34314db7c60e6d23ee7771cd090b4ef56c1.tar.gz kernel-b401f34314db7c60e6d23ee7771cd090b4ef56c1.zip | |
drm/tinydrm: mipi-dbi: Silence: ‘cmd’ may be used uninitialized
Fix this warning:
drivers/gpu/drm/tinydrm/mipi-dbi.c: In function ‘mipi_dbi_debugfs_command_write’:
drivers/gpu/drm/tinydrm/mipi-dbi.c:905:8: warning: ‘cmd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ret = mipi_dbi_command_buf(mipi, cmd, parameters, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmd can't be used uninitialized, but to satisfy the compiler,
initialize it to zero.
Signed-off-by: Noralf Trønnes <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
