aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-01-16 13:00:33 -0400
committerJason Gunthorpe <[email protected]>2020-01-25 15:05:59 -0400
commitb6bbee6889300372e8d84373de0afbd980155f90 (patch)
tree291f5d906bf2dfe2cde98b29f86daecc50ad9e2c /tools/perf/scripts/python/mem-phys-addr.py
parentd05d4ac4c9316a2e2ea5be434a7f7a021ec44a3c (diff)
RDMA/cm: Use IBA functions for simple get/set acessors
Use a Coccinelle spatch to replace CM helper functions with IBA_GET/SET versions. Applied with $ spatch --sp-file edits.sp --in-place drivers/infiniband/core/cm.c The spatch file was generated using the template pattern: @@ expression val; {struct} *msg; @@ - {old_setter} + IBA_SET({new_name}, msg, val) @@ {struct} *msg; @@ - {old_getter} + IBA_GET({new_name}, msg) Iterated for every IBA_CHECK_GET()/IBA_CHECK_GET() pairing. Touched up with clang-format after. Link: https://lore.kernel.org/r/[email protected] Tested-by: Leon Romanovsky <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions