diff options
author | Chuhong Yuan <[email protected]> | 2019-10-18 16:15:34 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-10-22 16:10:03 -0300 |
commit | a29e1012c1bf52c5364cad5ffbf5b4be8fe9c91b (patch) | |
tree | abb5edfad7cc76c4cecb512f2485221762f06977 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | d3bd93967015d974bb95d47cc14edd5adbea814f (diff) |
RDMA/uverbs: Add a check for uverbs_attr_get to uverbs_copy_to_struct_or_zero
All current callers for uverbs_copy_to_struct_or_zero() already check that
the attribute exists, but it make sense to verify the result like the
other functions do.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Chuhong Yuan <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions