aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorPhilipp Stanner <[email protected]>2024-06-13 13:50:14 +0200
committerKrzysztof Wilczyński <[email protected]>2024-07-10 04:19:03 +0000
commitdee37e90b41f7b41a63b894ded5b3840a9dddbd7 (patch)
tree154cb92013259504c201695a4a22d37e136f6096 /tools/perf/scripts/python/stat-cpi.py
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
PCI: Add and use devres helper for bit masks
The current devres implementation uses manual shift operations to check whether a bit in a mask is set. The code can be made more readable by writing a small helper function for that. Implement mask_contains_bar() and use it where applicable. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Stanner <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions