[SCSI] qla2xxx: Correction to sysfs edc interface.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Tue, 16 Aug 2011 18:31:51 +0000 (11:31 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 29 Aug 2011 07:14:56 +0000 (00:14 -0700)
commit1fedd80f9c2e1da9e6c2fa6a1b75ad077c70f291
treefa9b4e0c7b03044f42f08cb3b54311a4e9d23ed8
parent491118dff9aeb207408bd42aa4897bc2c145747f
[SCSI] qla2xxx: Correction to sysfs edc interface.

Corrects the return value for the cases where read/write edc fails;
this prevents sysfs from retrying the operation until forever.

Corrects the printk width specifier for the first byte of buf.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_attr.c