summaryrefslogtreecommitdiff
path: root/drivers/scsi/pcmcia
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-03-12 10:42:11 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-03-15 23:10:01 -0400
commit19f1bc7edf0f97186810e13a88f5b62069d89097 (patch)
tree67964079b68107eaec3345e6ed63d8249f429b8e /drivers/scsi/pcmcia
parent5999b9e5b1f8a2f5417b755130919b3ac96f5550 (diff)
scsi: lpfc: Fix some error codes in debugfs
If copy_from_user() or kstrtoull() fail then the correct behavior is to return a negative error code. Link: https://lore.kernel.org/r/YEsbU/UxYypVrC7/@mwanda Fixes: f9bb2da11db8 ("[SCSI] lpfc 8.3.27: T10 additions for SLI4") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pcmcia')
0 files changed, 0 insertions, 0 deletions