diff options
author | Philipp Stanner <pstanner@redhat.com> | 2024-06-13 14:50:14 +0300 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-07-10 07:19:03 +0300 |
commit | dee37e90b41f7b41a63b894ded5b3840a9dddbd7 (patch) | |
tree | 154cb92013259504c201695a4a22d37e136f6096 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
download | linux-dee37e90b41f7b41a63b894ded5b3840a9dddbd7.tar.xz |
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/20240613115032.29098-2-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions