summaryrefslogtreecommitdiffstats
path: root/lib/test_meminit.c
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-05-04 22:44:59 +0200
committerDavid S. Miller <davem@davemloft.net>2023-05-05 11:02:47 +0200
commit1e76f42779d6a2e45107b34d79d86a57b8077630 (patch)
tree28ad9baabfcdf71176d73a52793650967cb4bcdf /lib/test_meminit.c
parentMerge branch 'tc-action-fixes' (diff)
downloadlinux-1e76f42779d6a2e45107b34d79d86a57b8077630.tar.xz
linux-1e76f42779d6a2e45107b34d79d86a57b8077630.zip
pds_core: fix mutex double unlock in error path
Fix a double unlock in an error handling path by unlocking as soon as the error is seen and removing unlocks in the error cleanup path. Link: https://lore.kernel.org/kernel-janitors/209a09f6-5ec6-40c7-a5ec-6260d8f54d25@kili.mountain/ Fixes: 523847df1b37 ("pds_core: add devcmd device interfaces") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_meminit.c')
0 files changed, 0 insertions, 0 deletions