aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorOleh Kravchenko <[email protected]>2019-09-04 00:18:19 +0300
committerJacek Anaszewski <[email protected]>2019-09-05 22:32:45 +0200
commit4016ba85880b252365d11bc7dc899450f2c73ad7 (patch)
tree166da76915831a255a43ea740cc192d24b4a6642 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentba7eb84f71692d6ece8d5782ab1658fe7f6c0cad (diff)
led: triggers: Fix dereferencing of null pointer
Error was detected by PVS-Studio: V522 Dereferencing of the null pointer 'led_cdev->trigger' might take place. Fixes: 2282e125a406 ("leds: triggers: let struct led_trigger::activate() return an error code") Signed-off-by: Oleh Kravchenko <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions