aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorCarl Vanderlip <[email protected]>2023-06-02 15:04:39 -0600
committerJeffrey Hugo <[email protected]>2023-06-09 11:06:33 -0600
commit3e1b9b2d81901b3ceeb5ec1f1b4c41cd1cff53ba (patch)
tree12d36c1ba3562dff881c2f9ec609528720aa4ad3 /lib/mpi/mpi-bit.c
parenta3efabee5878b8d7b1863debb78cb7129d07a346 (diff)
accel/qaic: Free user handle on interrupted mutex
After user handle is allocated, if mutex is interrupted, we do not free the user handle and return an error. Kref had been initialized, but not added to users list, so device teardown would also not call free_usr. Fixes: c501ca23a6a3 ("accel/qaic: Add uapi and core driver file") Signed-off-by: Carl Vanderlip <[email protected]> Reviewed-by: Pranjal Ramajor Asha Kanojiya <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Signed-off-by: Jeffrey Hugo <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions