aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-12-22 10:42:59 +0300
committerJason Gunthorpe <[email protected]>2018-12-22 16:07:13 -0700
commit573671a5f6509c4139770452d4516720a84d5b61 (patch)
tree3ea7b6a5b71b329a8d6cdcaff1b4ab1c88a85b01 /tools/perf/scripts/python/export-to-postgresql.py
parentaa74be6eeade1caf3ef945ff1812059f3d7dc947 (diff)
IB/uverbs: Signedness bug in UVERBS_HANDLER()
The "num_sge" variable needs to be signed for the error handling to work. The uverbs_attr_ptr_get_array_size() returns int so this change is safe. Fixes: ad8a4496757f ("IB/uverbs: Add support to advise_mr") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions