aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJackie Liu <[email protected]>2021-10-22 09:02:01 +0800
committerMartin K. Petersen <[email protected]>2021-11-03 21:30:16 -0400
commit5f7cf82c1d7373fcf9e1062f5654efd5fa2b9211 (patch)
tree6cd4cd1ea957dda849d361271c5c4f726ca7fba6 /scripts/gdb/linux/utils.py
parenta1efc896cb8a2831de3cf5a9747e030b494f1a26 (diff)
scsi: bsg: Fix errno when scsi_bsg_register_queue() fails
When the value of error is printed, it will always be 0. We should print the correct error code when scsi_bsg_register_queue() fails. Link: https://lore.kernel.org/r/[email protected] Fixes: ead09dd3aed5 ("scsi: bsg: Simplify device registration") Cc: Jens Axboe <[email protected]> Cc: Christoph Hellwig <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jackie Liu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions