diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-02-12 11:22:33 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-13 09:00:43 -0700 |
| commit | e8ac9389f0d7c74fd988a5ce77765588f74dacd2 (patch) | |
| tree | 498f29817aac0cb620f94687da9c219d2df00ac3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma... (diff) | |
| download | linux-e8ac9389f0d7c74fd988a5ce77765588f74dacd2.tar.gz linux-e8ac9389f0d7c74fd988a5ce77765588f74dacd2.zip | |
RDMA: Fix allocation failure on pointer pd
The null check on an allocation failure on pd is currently checking
if pd is non-null rather than null. Fix this by adding the missing !
operator.
Fixes: 21a428a019c9 ("RDMA: Handle PD allocations by IB/core")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
