]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI/MSI: Use bool for MSI enable state tracking
authorHans Zhang <hans.zhang@cixtech.com>
Fri, 16 May 2025 16:52:22 +0000 (00:52 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 21 May 2025 19:28:53 +0000 (21:28 +0200)
commit4e7bca76e3fed58437dcd7f747d1c8d98507379e
tree23f0ddd7684af34e90ef19eaf067a496bf4e39d4
parent944242787695ec86ff00d925391d5b54902c546a
PCI/MSI: Use bool for MSI enable state tracking

Convert pci_msi_enable and pci_msi_enabled() to use bool type for clarity.
No functional changes, only code cleanup.

Signed-off-by: Hans Zhang <hans.zhang@cixtech.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250516165223.125083-2-18255117159@163.com
drivers/pci/msi/api.c
drivers/pci/msi/msi.c
drivers/pci/msi/msi.h
include/linux/pci.h