]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI/AER: Use bool for AER disable state tracking
authorHans Zhang <hans.zhang@cixtech.com>
Fri, 16 May 2025 16:52:23 +0000 (00:52 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 17 Jun 2025 22:32:27 +0000 (17:32 -0500)
commit9890dd3fb7f93546b4cd760e8371e63a94b05cd5
tree864e46e72fe81d5080510056058517aa8c695111
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
PCI/AER: Use bool for AER disable state tracking

Change pcie_aer_disable variable to bool and update pci_no_aer()
to set it to true. Improves code readability and aligns with modern
kernel practices.

Signed-off-by: Hans Zhang <hans.zhang@cixtech.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250516165223.125083-3-18255117159@163.com
drivers/pci/pcie/aer.c