diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2018-02-21 18:12:31 +0200 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2018-02-22 22:29:10 -0500 |
| commit | b5bc59818614a9d6d1fa2347b14dd52c4774fb70 (patch) | |
| tree | 70df7899e41cf7f08cd47488bb68f89674c499f4 /tools/perf/scripts/python | |
| parent | 4bb46608ed78758c89c77ae5d1163dce3df95950 (diff) | |
| download | linux-b5bc59818614a9d6d1fa2347b14dd52c4774fb70.tar.gz linux-b5bc59818614a9d6d1fa2347b14dd52c4774fb70.zip | |
RDMA/uverbs: Convert command mask validity check function to be bool
The function validate_command_mask() returns only two results: success
or failure, so convert it to return bool instead of 0 and -1.
Reported-by: Noa Osherovich <noaos@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
