summaryrefslogtreecommitdiff
path: root/drivers/thermal/kirkwood_thermal.c
diff options
context:
space:
mode:
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>2025-01-04 11:45:19 +0530
committerLeon Romanovsky <leon@kernel.org>2025-01-05 06:51:49 -0500
commitc84f0f4f49d81645f49c3269fdcc3b84ce61e795 (patch)
treef25ec4c871b6365af7bb7374e9a3289372d80fd8 /drivers/thermal/kirkwood_thermal.c
parent220043b06fded9909bdf62e3355396eff0bb8a52 (diff)
RDMA/bnxt_re: Fix to drop reference to the mmap entry in case of error
In the error handling path of bnxt_re_mmap(), driver should invoke rdma_user_mmap_entry_put() to free the reference of mmap entry in case the error happens after rdma_user_mmap_entry_get was called. Fixes: ea2224857882 ("RDMA/bnxt_re: Update alloc_page uapi for pacing") Reviewed-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com> Reviewed-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Link: https://patch.msgid.link/20250104061519.2540178-1-kalesh-anakkur.purayil@broadcom.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/thermal/kirkwood_thermal.c')
0 files changed, 0 insertions, 0 deletions