diff options
author | 2017-01-18 14:10:31 +0200 | |
---|---|---|
committer | 2017-02-14 10:14:25 -0500 | |
commit | 12bbf1ea7e3b35892dbb8636b978160bc9576b61 (patch) | |
tree | 087f0cc6decad1e76204a8b0dbd4d7ed82342c08 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | IB/mlx5: Fix out-of-bound access (diff) | |
download | linux-dev-12bbf1ea7e3b35892dbb8636b978160bc9576b61.tar.xz linux-dev-12bbf1ea7e3b35892dbb8636b978160bc9576b61.zip |
IB/mlx5: Return error for unsupported signature type
In case of unsupported singature, we returned positive
value, while the better approach is to return -EINVAL.
In addition, in this change, the error print is enriched
to provide an actual supplied signature type.
Fixes: e6631814fb3a ("IB/mlx5: Support IB_WR_REG_SIG_MR")
Cc: Sagi Grimberg <sagi@grimberg.me>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions