qla2x00t: Make qla2x00_store_class2_enabled() report failures

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7567 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-01 04:28:17 +00:00
parent 1ba478d9f0
commit d983ab3638
+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);