[PATCH 0/3] hw/usb: Rename NB_PORTS -> UHCI_PORTS / EHCI_PORTS

Philippe Mathieu-Daudé posted 3 patches 9 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240213043859.61019-1-philmd@linaro.org
Maintainers: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.h        |  8 ++++----
hw/usb/hcd-uhci.h        |  4 ++--
hw/usb/hcd-ehci-pci.c    |  2 +-
hw/usb/hcd-ehci-sysbus.c |  2 +-
hw/usb/hcd-ehci.c        | 21 +++++++++++----------
hw/usb/hcd-uhci.c        | 24 +++++++++++++-----------
6 files changed, 32 insertions(+), 29 deletions(-)
[PATCH 0/3] hw/usb: Rename NB_PORTS -> UHCI_PORTS / EHCI_PORTS
Posted by Philippe Mathieu-Daudé 9 months, 2 weeks ago
Rename variables to avoid clashing when including both
"hw/usb/hcd-ehci.h" and "hw/usb/hcd-uhci.h" in the same
file.

Philippe Mathieu-Daudé (3):
  hw/usb: Style cleanup
  hw/usb/uhci: Rename NB_PORTS -> UHCI_PORTS
  hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

 hw/usb/hcd-ehci.h        |  8 ++++----
 hw/usb/hcd-uhci.h        |  4 ++--
 hw/usb/hcd-ehci-pci.c    |  2 +-
 hw/usb/hcd-ehci-sysbus.c |  2 +-
 hw/usb/hcd-ehci.c        | 21 +++++++++++----------
 hw/usb/hcd-uhci.c        | 24 +++++++++++++-----------
 6 files changed, 32 insertions(+), 29 deletions(-)

-- 
2.41.0


Re: [PATCH 0/3] hw/usb: Rename NB_PORTS -> UHCI_PORTS / EHCI_PORTS
Posted by Michael Tokarev 9 months, 2 weeks ago
13.02.2024 07:38, Philippe Mathieu-Daudé wrote:
> Rename variables to avoid clashing when including both
> "hw/usb/hcd-ehci.h" and "hw/usb/hcd-uhci.h" in the same
> file.
> 
> Philippe Mathieu-Daudé (3):
>    hw/usb: Style cleanup
>    hw/usb/uhci: Rename NB_PORTS -> UHCI_PORTS
>    hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

Picked up the series for trivial-patches.

Thanks,

/mjt

Re: [PATCH 0/3] hw/usb: Rename NB_PORTS -> UHCI_PORTS / EHCI_PORTS
Posted by Richard Henderson 9 months, 2 weeks ago
On 2/12/24 18:38, Philippe Mathieu-Daudé wrote:
> Philippe Mathieu-Daudé (3):
>    hw/usb: Style cleanup
>    hw/usb/uhci: Rename NB_PORTS -> UHCI_PORTS
>    hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~