diff options
author | Jason Gunthorpe <[email protected]> | 2024-07-11 21:11:03 -0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2024-07-15 09:44:54 -0300 |
commit | 136a8066676e593cd29627219467fc222c8f3b04 (patch) | |
tree | 1773779df02767f48a7f2c51fce7856e9219f4f4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 595572aae3d0c3bf295ea759b74b948e7493a9ff (diff) |
iommufd: Put constants for all the uAPI enums
Relying on position in the enum makes it subtly harder when doing merge
resolutions or backporting as it is easy to grab a patch and not notice it
is a uAPI change with a differently ordered enum. This may become a bigger
problem in next cycles when iommu_hwpt_invalidate_data_type and other
per-driver enums have patches flowing through different trees.
So lets start including constants for all the uAPI enums to make this
safer.
No functional change.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Yi Liu <[email protected]>
Tested-by: Yi Liu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions