summaryrefslogtreecommitdiff
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>2013-05-03 08:11:04 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-05-03 20:10:34 (GMT)
commit777c2300865cb9b1b1791862ed23da677abfe6dc (patch)
tree49d8d38a032addb7160064c8de8bb91b11d781be /Documentation/RCU
parent88dccf5b344163645d694d74cffc5a7e64a385bb (diff)
downloadlinux-fsl-qoriq-777c2300865cb9b1b1791862ed23da677abfe6dc.tar.xz
cxgb4: fix error recovery when t4_fw_hello returns a positive value
Since commit 636f9d371f70f22961fd598fe18380057518ca31 ("cxgb4: Add support for T4 configuration file"), t4_fw_hello may return a positive value instead of 0 for success. The recovery code tests only for zero and fails recovery for any other value. This fix tests for negative error values and fails only on those cases. Error recovery after an error injection works after this change. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions