qla2xxx: Corrections to returned sysfs error codes.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Fri, 18 Nov 2011 17:03:13 +0000 (09:03 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 26 Nov 2017 13:51:06 +0000 (13:51 +0000)
commit4eec08bd11df161bd9d404ab5356a4e6510a5279
tree504e90ba6b0d315087e89ac6b8c73556cc39516c
parenta37d7be7a0aafd3aaa224b0ba79f63f55881afb9
qla2xxx: Corrections to returned sysfs error codes.

commit 71dfe9e776878d9583d004edade55edc2bdac5eb upstream.

Correct the erroneous return codes introduced by the following patch:
"Return sysfs error codes appropriate to conditions".

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/scsi/qla2xxx/qla_attr.c