diff options
| author | Dan Carpenter <[email protected]> | 2015-09-16 09:22:20 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2015-09-18 11:28:47 -0400 |
| commit | 50b19729ced72cfa8bb1c44fed9203f395f13991 (patch) | |
| tree | 58b03546dcd209e395713089beb881e69e1ddbdc /tools/perf/util/c++/clang-test.cpp | |
| 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 <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions