commit | 50b19729ced72cfa8bb1c44fed9203f395f13991 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Sep 16 09:22:20 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Fri Sep 18 11:28:47 2015 -0400 |
tree | 58b03546dcd209e395713089beb881e69e1ddbdc | |
parent | aeef010a0f63ad0a6f993d3da30753e9a8a39ec5 [diff] |
IB/hfi1: checking for NULL instead of IS_ERR __get_txreq() returns an ERR_PTR() but this checks for NULL so it would oops on failure. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Doug Ledford <dledford@redhat.com>