summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-twl-led.c
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2023-03-15 09:20:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-22 15:37:50 +0300
commita6633022d7d6c21436f55d6323f2a1e856238d44 (patch)
treec7b77340298358fab0dcbc4daeb02fbb5d34b60b /drivers/pwm/pwm-twl-led.c
parent8ed9813871038b25a934b21ab76b5b7dbf44fc3a (diff)
downloadlinux-a6633022d7d6c21436f55d6323f2a1e856238d44.tar.xz
block: sunvdc: add check for mdesc_grab() returning NULL
[ Upstream commit 6030363199e3a6341afb467ddddbed56640cbf6a ] In vdc_port_probe(), we should check the return value of mdesc_grab() as it may return NULL, which can cause potential NPD bug. Fixes: 43fdf27470b2 ("[SPARC64]: Abstract out mdesc accesses for better MD update handling.") Signed-off-by: Liang He <windhl@126.com> Link: https://lore.kernel.org/r/20230315062032.1741692-1-windhl@126.com [axboe: style cleanup] Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-twl-led.c')
0 files changed, 0 insertions, 0 deletions