Files
linux/drivers/scsi/lpfc
Dan Carpenter f4774f9ada scsi: lpfc: Fix some error codes in debugfs
commit 19f1bc7edf upstream.

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: f9bb2da11d ("[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 10:48:13 +09:00
..
2023-05-15 16:17:00 +09:00
2015-04-10 07:50:42 -07:00
2016-07-15 15:25:06 -04:00
2015-06-05 22:40:19 -07:00
2023-05-15 16:17:00 +09:00
2011-03-31 11:26:23 -03:00
2016-07-15 15:25:06 -04:00
2016-07-15 15:25:06 -04:00
2023-05-15 16:17:00 +09:00