hw/usb: Cleanups around QOM style
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | hw/usb/dev-smartcard-reader: Avoid forward-declaring CCIDBushw/ | +3 | 1 reply | |
| 2/9 | hw/usb/hcd-ohci: Use OHCIState type definitionhw/ hw/ | +7 | 1 reply | |
| 3/9 | hw/usb/hcd-ohci-pci: Use QOM type-safe cast conversion macrohw/ | +2 | 0 replies | |
| 4/9 | hw/usb/hcd-uhci: Declare QOM macros using OBJECT_DECLARE_TYPE()hw/ hw/ | +1 | 1 reply | |
| 5/9 | hw/usb/hcd-uhci: Replace container_of() by UHCI_GET_CLASS() QOM macrohw/ | +2 | 1 reply | |
| 6/9 | hw/usb/hcd-xhci-nec: Declare QOM macros for NEC_XHCIhw/ | +4 | 1 reply | |
| 7/9 | hw/usb/hcd-xhci-nec: Replace container_of() by NEC_XHCI() QOM cast macrohw/ | +1 | 1 reply | |
| 8/9 | hw/usb/u2f: Declare QOM macros using OBJECT_DECLARE_TYPE()hw/ | +5 | 1 reply | |
| 9/9 | hw/usb/u2f-passthru: Use QOM type-safe cast conversion macroshw/ | +4 | 0 replies |
Reviews trailers per patch
7 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] hw/usb: Cleanups around QOM style
- Use QOM's OBJECT_DECLARE*TYPE() to declare typedef / macros
- Use QOM cast macros instead of container_of()
Philippe Mathieu-Daudé (9):
hw/usb/dev-smartcard-reader: Avoid forward-declaring CCIDBus hw/usb/hcd-ohci: Use OHCIState type definition hw/usb/hcd-ohci-pci: Use QOM type-safe cast conversion macro hw/usb/hcd-uhci: Declare QOM macros using OBJECT_DECLARE_TYPE() hw/usb/hcd-uhci: Replace container_of() by UHCI_GET_CLASS() QOM macro hw/usb/hcd-xhci-nec: Declare QOM macros for NEC_XHCI hw/usb/hcd-xhci-nec: Replace container_of() by NEC_XHCI() QOM cast
macro
hw/usb/u2f: Declare QOM macros using OBJECT_DECLARE_TYPE() hw/usb/u2f-passthru: Use QOM type-safe cast conversion macros
hw/usb/dev-smartcard-reader.c | 7 +++---- hw/usb/hcd-ohci-pci.c | 4 ++-- hw/usb/hcd-ohci.c | 2 +- hw/usb/hcd-ohci.h | 10 ++++++---- hw/usb/hcd-uhci.c | 7 ++----- hw/usb/hcd-uhci.h | 2 +- hw/usb/hcd-xhci-nec.c | 8 +++++--- hw/usb/u2f-passthru.c | 7 ++++--- hw/usb/u2f.h | 16 +++++----------- 9 files changed, 29 insertions(+), 34 deletions(-)
Signature · 1 line
2.38.1