aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-10-19 16:06:03 +0000
committerGreg Kroah-Hartman <[email protected]>2020-10-27 12:23:42 +0000
commitd3a85737521a8570adf3a8171b4b3e42216686ec (patch)
tree46dae728de723ddb5c9be523b14a82b65794af2f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentstaging: mmal-vchiq: Fix memory leak for vchiq_instance (diff)
downloadkernel-d3a85737521a8570adf3a8171b4b3e42216686ec.tar.gz
kernel-d3a85737521a8570adf3a8171b4b3e42216686ec.zip
staging: wfx: fix use of uninitialized pointer
With -Wuninitialized, the compiler complains: drivers/staging/wfx/data_tx.c:34:19: warning: variable 'band' is uninitialized when used here [-Wuninitialized] if (rate->idx >= band->n_bitrates) { ^~~~ Reported-by: kernel test robot <[email protected]> Reported-by: Nathan Chancellor <[email protected]> Fixes: 868fd970e187 ("staging: wfx: improve robustness of wfx_get_hw_rate()") Signed-off-by: Jérôme Pouiller <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions