aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2020-08-18 14:08:35 +0300
committerJason Gunthorpe <[email protected]>2020-08-24 14:45:54 -0300
commit8d9290a4a8aa5d46073d558692d66a7190b81b90 (patch)
treea66a101df6601f001bf8027718bab1cc76f774ff /tools/perf/scripts/python/bin/stackcollapse-report
parent62cbff326788e4612cb541030d09c943caf78e29 (diff)
RDMA/efa: Remove redundant udata check from alloc ucontext response
The alloc ucontext flow is always called with a valid udata, there's no need to test whether it's NULL. While at it, the 'udata->outlen' check is removed as well as we copy the minimum between the size of the response and outlen, so in case of zero outlen, zero bytes will be copied. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Firas JahJah <[email protected]> Reviewed-by: Yossi Leybovich <[email protected]> Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions