diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2025-03-19 11:56:54 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-04-09 20:47:30 +0200 |
commit | 891146645e5d55166847b8e004a30fb9f8b03266 (patch) | |
tree | 83c022aacaff302170457741d663960eb7a245ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f11cc2af8f4b3d5e81dd9b8fb1a9185a6ca6e7db (diff) |
PCI/MSI: Switch msix_capability_init() to guard(msi_desc_lock)
Split the lock protected functionality of msix_capability_init() out into a
helper function and use guard(msi_desc_lock) to replace the lock/unlock
pair.
Simplify the error path in the helper function by utilizing a custom
cleanup to get rid of the remaining gotos.
No functional change intended.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/all/20250319105506.564105011@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions