aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSaurav Kashyap <[email protected]>2024-07-10 22:40:50 +0530
committerMartin K. Petersen <[email protected]>2024-07-10 22:44:10 -0400
commitce2065c4cc4f05635413f63f6dc038d7d4842e31 (patch)
tree67c2b1550e3ef682e1d78c7417c13d10bf37a72b /lib/memory-notifier-error-inject.c
parentc03d740152f78e86945a75b2ad541bf972fab92a (diff)
scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
Firmware only supports single DSDs in ELS Pass-through IOCB (0x53h), sg cnt is decided by the SCSI ML. User is not aware of the cause of an acutal error. Return the appropriate return code that will be decoded by API and application and proper error message will be displayed to user. Fixes: 6e98016ca077 ("[SCSI] qla2xxx: Re-organized BSG interface specific code.") Cc: [email protected] Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions