aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorLingzhu Xiang <[email protected]>2013-05-10 18:29:21 +0800
committerMatt Fleming <[email protected]>2013-05-13 20:12:10 +0100
commit3fab70c165795431f00ddf9be8b84ddd07bd1f8f (patch)
treec36c7f153e911824448946f286bff35af6bc6a6e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
efivarfs: Never return ENOENT from firmware again
Previously in 1fa7e69 efi_status_to_err() translated firmware status EFI_NOT_FOUND to -EIO instead of -ENOENT for efivarfs operations to avoid confusion. After refactoring in e14ab23, it is also used in other places where the translation may be unnecessary. So move the translation to efivarfs specific code. Also return EOF for reading zero-length files, which is what users would expect. Cc: Josh Boyer <[email protected]> Cc: Jeremy Kerr <[email protected]> Cc: Lee, Chun-Yi <[email protected]> Cc: Andy Whitcroft <[email protected]> Signed-off-by: Lingzhu Xiang <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions