diff options
author | Michael Brown | 2013-04-18 02:05:32 +0200 |
---|---|---|
committer | Michael Brown | 2013-04-19 01:45:13 +0200 |
commit | e42bc3aa37698941be20cccde599af39c69227e2 (patch) | |
tree | 4e6232b003056ad3ae52281407ff73a24e56c803 /src/drivers/block | |
parent | [efi] Remove obsolete EFI I/O implementation using EFI_CPU_IO_PROTOCOL (diff) | |
download | ipxe-e42bc3aa37698941be20cccde599af39c69227e2.tar.gz ipxe-e42bc3aa37698941be20cccde599af39c69227e2.tar.xz ipxe-e42bc3aa37698941be20cccde599af39c69227e2.zip |
[libc] Use __einfo() tuple as first argument to EUNIQ()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/block')
-rw-r--r-- | src/drivers/block/scsi.c | 2 | ||||
-rw-r--r-- | src/drivers/block/srp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/block/scsi.c b/src/drivers/block/scsi.c index b45ae630..4245f019 100644 --- a/src/drivers/block/scsi.c +++ b/src/drivers/block/scsi.c @@ -89,7 +89,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define EINFO_EIO_COMPLETED \ __einfo_uniqify ( EINFO_EIO, 0x0f, "Completed" ) #define EIO_SENSE( key ) \ - EUNIQ ( EIO, (key), EIO_NO_SENSE, EIO_RECOVERED_ERROR, \ + EUNIQ ( EINFO_EIO, (key), EIO_NO_SENSE, EIO_RECOVERED_ERROR, \ EIO_NOT_READY, EIO_MEDIUM_ERROR, EIO_HARDWARE_ERROR, \ EIO_ILLEGAL_REQUEST, EIO_UNIT_ATTENTION, \ EIO_DATA_PROTECT, EIO_BLANK_CHECK, EIO_VENDOR_SPECIFIC, \ diff --git a/src/drivers/block/srp.c b/src/drivers/block/srp.c index 098a973e..70a97b2f 100644 --- a/src/drivers/block/srp.c +++ b/src/drivers/block/srp.c @@ -93,7 +93,7 @@ FEATURE ( FEATURE_PROTOCOL, "SRP", DHCP_EB_FEATURE_SRP, 1 ); SRP_LOGIN_REJ_REASON_NO_MORE_CHANNELS, \ "RDMA channel limit reached for this initiator" ) #define EPERM_LOGIN_REJ( reason_nibble ) \ - EUNIQ ( EPERM, (reason_nibble), EPERM_UNKNOWN, \ + EUNIQ ( EINFO_EPERM, (reason_nibble), EPERM_UNKNOWN, \ EPERM_INSUFFICIENT_RESOURCES, EPERM_BAD_MAX_I_T_IU_LEN, \ EPERM_CANNOT_ASSOCIATE, EPERM_UNSUPPORTED_BUFFER_FORMAT, \ EPERM_NO_MULTIPLE_CHANNELS, EPERM_NO_MORE_CHANNELS ) |