summaryrefslogtreecommitdiffstats
path: root/net/dns_resolver
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-06-14 09:03:59 +0200
committerDavid S. Miller <davem@davemloft.net>2023-06-15 12:46:43 +0200
commit97c5209b3d374a25ebdb4c2ea9e9c1b121768da0 (patch)
tree8057d251bf4f16320575c35e17861baccdafd686 /net/dns_resolver
parenttools: ynl: work around stale system headers (diff)
downloadlinux-97c5209b3d374a25ebdb4c2ea9e9c1b121768da0.tar.xz
linux-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 <dan.carpenter@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Lee Jones <lee@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions