diff options
author | Jason Gunthorpe <[email protected]> | 2022-04-11 16:14:00 +0200 |
---|---|---|
committer | Zhi Wang <[email protected]> | 2022-04-21 07:36:56 -0400 |
commit | e6486939d8ea22569af942a1888aa3824f59cc5e (patch) | |
tree | f1c273b67fdd9104f17f58467e78622f41752810 /tools/perf/scripts/python | |
parent | 6c7f98b334a32df5cac8abac8983ac4ce17cab57 (diff) |
vfio/mdev: Remove mdev_parent_ops dev_attr_groups
This is only used by one sample to print a fixed string that is pointless.
In general, having a device driver attach sysfs attributes to the parent
is horrific. This should never happen, and always leads to some kind of
liftime bug as it become very difficult for the sysfs attribute to go back
to any data owned by the device driver.
Remove the general mechanism to create this abuse.
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Zhi Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Kirti Wankhede <[email protected]>
Reviewed-by: Zhi Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions