diff options
| author | Dan Carpenter <[email protected]> | 2023-06-14 07:03:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-06-15 10:46:43 +0000 |
| commit | 97c5209b3d374a25ebdb4c2ea9e9c1b121768da0 (patch) | |
| tree | 8057d251bf4f16320575c35e17861baccdafd686 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | tools: ynl: work around stale system headers (diff) | |
| download | kernel-97c5209b3d374a25ebdb4c2ea9e9c1b121768da0.tar.gz kernel-97c5209b3d374a25ebdb4c2ea9e9c1b121768da0.zip | |
leds: trigger: netdev: uninitialized variable in netdev_trig_activate()
The qca8k_cled_hw_control_get() function which implements ->hw_control_get
sets the appropriate bits but does not clear them. This leads to an
uninitialized variable bug. Fix this by setting mode to zero at the
start.
Fixes: e0256648c831 ("net: dsa: qca8k: implement hw_control ops")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
