diff options
| author | Dan Carpenter <[email protected]> | 2016-01-12 12:27:43 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-01-19 15:17:40 -0500 |
| commit | bc1251e6d9420fec4c6b328bcf9ea4e5bdecd30d (patch) | |
| tree | 43006b154498e1ce612d2adb86b1348b7f87b027 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | fbbeb8632bf0b46ab44cfcedc4654cd7831b7161 (diff) | |
RDMA/nes: checking for NULL instead of IS_ERR
nes_reg_phys_mr() returns ERR_PTRs on error. It doesn't return NULL.
This bug has been there for a while, but we recently changed from
calling a function pointer to calling nes_reg_phys_mr() directly so now
Smatch is able to detect the bug.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions