qla2x00t: Make qla2x00_store_class2_enabled() report failures

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7313 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2017-12-31 20:41:24 +00:00
parent 6cac363e4c
commit 17f858726b
+1 -1
View File
@@ -92,7 +92,7 @@ qla2x00_store_class2_enabled(struct device *dev,
set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
out:
return size;
return res;
out_unlock:
spin_unlock_irqrestore(&ha->hardware_lock, flags);