summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm831x-dcdc.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2023-09-25 05:41:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-20 12:27:34 +0300
commit6413a8006e4b8628b39603fa08c26dae7bb3faad (patch)
tree524ede8bd72ac0fe9b26cb686cb608fbfbb9c29c /drivers/regulator/wm831x-dcdc.c
parent74cc5cb56bbaf93bbb7f8392791a5841e4d3a7ab (diff)
downloadlinux-6413a8006e4b8628b39603fa08c26dae7bb3faad.tar.xz
mfd: dln2: Fix double put in dln2_probe
[ Upstream commit 759c409bc5fc496cbc22cd0b392d3cbb0c0e23eb ] The dln2_free() already contains usb_put_dev(). Therefore, the redundant usb_put_dev() before dln2_free() may lead to a double free. Fixes: 96da8f148396 ("mfd: dln2: Fix memory leak in dln2_probe()") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Link: https://lore.kernel.org/r/20230925024134.9683-1-dinghao.liu@zju.edu.cn Signed-off-by: Lee Jones <lee@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
0 files changed, 0 insertions, 0 deletions