aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-04-06 16:40:28 -0300
committerAlex Williamson <[email protected]>2021-04-07 15:39:17 -0600
commit417fd5bf242d7691c15fe0bd705ab76c69276572 (patch)
tree3e1fb6626122c6beaf352d89a74770a37bdd19b9 /tools/perf/util/trace-event-scripting.c
parent91b9969d9c6bb7c02253bbfc536bfd892f636fdc (diff)
vfio/mdev: Use struct mdev_type in struct mdev_device
The kobj pointer in mdev_device is actually pointing at a struct mdev_type. Use the proper type so things are understandable. There are a number of places that are confused and passing both the mdev and the mtype as function arguments, fix these to derive the mtype directly from the mdev to remove the redundancy. Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions