aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2024-12-02 15:26:41 +0000
committerDavid Teigland <[email protected]>2024-12-19 19:11:24 +0000
commit6784ed98fde5b7538fff6b329b686b119ca23d8b (patch)
tree239c2ce614b6794d58ff17bd12319b709eabeb4b /drivers/mmc/core/queue.c
parentdlm: fix srcu_read_lock() return type to int (diff)
downloadkernel-6784ed98fde5b7538fff6b329b686b119ca23d8b.tar.gz
kernel-6784ed98fde5b7538fff6b329b686b119ca23d8b.zip
dlm: return -ENOENT if no comm was found
Currently if no comm can be found dlm_comm_seq() returns -EEXIST which means entry already exists for a lookup it makes no sense to return -EEXIST. We change it to -ENOENT. There is no user that will evaluate the return value on a specific value so this should be fine. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions