On 8/6/21 11:11 PM, Eduardo Habkost wrote:
> There are multiple functions where OBJECT_GET_CLASS or
> OBJECT_CLASS_CHECK are being used directly for
> DeviceClass/TYPE_DEVICE, instead of the DEVICE_GET_CLASS or
> DEVICE_CLASS wrappers.  There's no reason to not use the
> wrappers, so use them.
> 
> Signed-off-by: Eduardo Habkost <[email protected]>
> ---
> Cc: "Michael S. Tsirkin" <[email protected]>
> Cc: Marcel Apfelbaum <[email protected]>
> Cc: Gerd Hoffmann <[email protected]>
> Cc: Juan Quintela <[email protected]>
> Cc: "Dr. David Alan Gilbert" <[email protected]>
> Cc: Markus Armbruster <[email protected]>
> Cc: Paolo Bonzini <[email protected]>
> Cc: "Daniel P. Berrangé" <[email protected]>
> Cc: Eduardo Habkost <[email protected]>
> Cc: [email protected]
> ---
>  hw/pci/pci.c           | 3 +--
>  hw/usb/hcd-ehci-pci.c  | 2 +-
>  migration/savevm.c     | 3 +--
>  monitor/misc.c         | 3 +--
>  softmmu/qdev-monitor.c | 3 +--
>  5 files changed, 5 insertions(+), 9 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to