mbox series

[00/12] PCI: Miscellaneous cleanups

Message ID 20230824193712.542167-1-helgaas@kernel.org
Headers show
Series PCI: Miscellaneous cleanups | expand

Message

Bjorn Helgaas Aug. 24, 2023, 7:37 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

Simplify some trivial things and fix some typos and formatting
inconsistencies.

Most are based on v6.5-rc1 (actually on the current "misc" branch, so there
may be minor conflicts).

The last ("Simplify pcie_capability_clear_and_set_word()") is based on the
current "pcie-rmw" branch because it changes the same code as that branch
does.

No functional change intended for any of this, except the printk changes
("%#08x" vs "%#010x").

Bjorn Helgaas (12):
  PCI: mvebu: Remove unused struct mvebu_pcie.busn
  PCI: Unexport pcie_port_bus_type
  PCI: Remove unnecessary initializations
  PCI: Fix printk field formatting
  PCI: Use consistent put_user() pointer types
  PCI/AER: Simplify AER_RECOVER_RING_SIZE definition
  PCI: Simplify pci_pio_to_address()
  PCI: Simplify pci_dev_driver()
  PCI: Fix pci_bus_resetable(), pci_slot_resetable() name typos
  PCI: Fix typos in docs and comments
  PCI: Fix code formatting inconsistencies
  PCI: Simplify pcie_capability_clear_and_set_word() control flow

Comments

Ilpo Järvinen Aug. 25, 2023, 9:01 a.m. UTC | #1
On Thu, 24 Aug 2023, Bjorn Helgaas wrote:

> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> Simplify some trivial things and fix some typos and formatting
> inconsistencies.
> 
> Most are based on v6.5-rc1 (actually on the current "misc" branch, so there
> may be minor conflicts).
> 
> The last ("Simplify pcie_capability_clear_and_set_word()") is based on the
> current "pcie-rmw" branch because it changes the same code as that branch
> does.
> 
> No functional change intended for any of this, except the printk changes
> ("%#08x" vs "%#010x").
> 
> Bjorn Helgaas (12):
>   PCI: mvebu: Remove unused struct mvebu_pcie.busn
>   PCI: Unexport pcie_port_bus_type
>   PCI: Remove unnecessary initializations
>   PCI: Fix printk field formatting
>   PCI: Use consistent put_user() pointer types
>   PCI/AER: Simplify AER_RECOVER_RING_SIZE definition
>   PCI: Simplify pci_pio_to_address()
>   PCI: Simplify pci_dev_driver()
>   PCI: Fix pci_bus_resetable(), pci_slot_resetable() name typos
>   PCI: Fix typos in docs and comments
>   PCI: Fix code formatting inconsistencies
>   PCI: Simplify pcie_capability_clear_and_set_word() control flow

I read through all these patches. For the whole series:

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>