From nobody Mon Feb 9 11:33:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1604747613; cv=none; d=zohomail.com; s=zohoarc; b=hvk5/On++UbdGCLRKsQYkVWLUDIN9WDpFpIEXl1mxkdAl9Fk4A2oC2Z60j8x/kGSfGczXfEhrWWLe5ABTrFiB4eqXj0vfuX4FqBYX+K9ThSg5IO9g+M9VLlFyk8nLBL0oDJL5vkFuXncifQ1xkqkR9TgK+Ogo2vsfIzot6/g/Ww= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604747613; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=qfseJWujaVPa0a8Aenqsf/GWeCPDNQLBt0wn/9+sZ0Q=; b=gbHh1hecfPUyVtctaMkJ8293M6Km6bOA4UoktAc1uPTNlmY1F4Ylm68oeZKuc9HMlLckvJCg8MoFpqFZvvKZ5BDyRPeQxXaRDhZcZBM7K5B4ONUB5XYcmOsVPL9ei+KNvGv6JpO1t1XJ0lJxinFpv4UuhQLpMVuN6ja6Ru+MsRs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 16047476131249.556448634820526; Sat, 7 Nov 2020 03:13:33 -0800 (PST) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-115-_DX-_f21OFmRZdfYx6bH4Q-1; Sat, 07 Nov 2020 06:13:30 -0500 Received: by mail-wr1-f70.google.com with SMTP id f11so1594233wro.15 for ; Sat, 07 Nov 2020 03:13:30 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id v9sm6012072wrp.11.2020.11.07.03.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604747612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qfseJWujaVPa0a8Aenqsf/GWeCPDNQLBt0wn/9+sZ0Q=; b=MRq4vcxxTLtsG7L/tcYNa1aLOCmAzjxWPW0VjrhlgN/6ew3ES9oLV8hqPprb6GKToXB2Eu TUmoNzI4oYdokAM5V483UeLL6PWOyIGtM0wfTKcaI6v+E5sUOMpjjOLwKk+FYlY2aIxMMV 6YrvYxv+OM1c9QFktHeWiBQ9/DH0I4w= X-MC-Unique: _DX-_f21OFmRZdfYx6bH4Q-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qfseJWujaVPa0a8Aenqsf/GWeCPDNQLBt0wn/9+sZ0Q=; b=Jg3c5jXEwvz41L9oiMIrrdNASfEQd1QzUF8d9nuDHbHbBwy38EVMWLQ9kXaK3hLoCZ QCj4lUhCmTR+soEVigs+6rt67PmBIm/wlpi2mwUon0/75uxIWrsfq7Bqd1cnG2Xkfmvm Ws3Hnmq2k18170nIMT/FYGuBTQDSr04Za5Gan/rtJZngSXgZOVnF4F9Hv2x2vTSL0vEl Pya74oL62Jes5h0hDpAaaeAdLfpJVjZsDNu1D2Tk5rZnmOZzwXTvfrfTJ5c2uYweBTwM q4iFmjL+OBsPvUdlXa4fb5SDJbDRAylMgrywhZ8rMxC3Ckem7j//4razlS8q75E8EEIw L7Zw== X-Gm-Message-State: AOAM5313ljIukzIzXkUSgtaLcbusbECFEewcEI16EcXWDuIaLYYM63Dk Ce2K0tzCMX85jNtOEutBTeNMoztes0biE6uZZ7gLnDOxRsaYKbNlBkM03f2fEOiH2OaqLTgLtW4 ge58C2Ec71b0FEA== X-Received: by 2002:adf:f00f:: with SMTP id j15mr3531643wro.102.1604747609282; Sat, 07 Nov 2020 03:13:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQNMxxhARgrbB8iQk7h6BLzmK0BLf4IZWvJh7+aIAiergiLTRpjKEuEOQCUTAW0hfBN1H2SA== X-Received: by 2002:adf:f00f:: with SMTP id j15mr3531630wro.102.1604747609150; Sat, 07 Nov 2020 03:13:29 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Sai Pavan Boddu , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost , qemu-trivial@nongnu.org Subject: [PATCH-for-6.0 4/5] hw/usb/hcd-xhci-pci: Use OBJECT_DECLARE_SIMPLE_TYPE() macro Date: Sat, 7 Nov 2020 12:13:06 +0100 Message-Id: <20201107111307.262263-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201107111307.262263-1-philmd@redhat.com> References: <20201107111307.262263-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Cc: Eduardo Habkost Cc: qemu-trivial@nongnu.org hw/usb/hcd-xhci-pci.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/usb/hcd-xhci-pci.h b/hw/usb/hcd-xhci-pci.h index aa2e890627c..cf9a180caa4 100644 --- a/hw/usb/hcd-xhci-pci.h +++ b/hw/usb/hcd-xhci-pci.h @@ -28,9 +28,7 @@ #include "hcd-xhci.h" =20 #define TYPE_XHCI_PCI "pci-xhci" -#define XHCI_PCI(obj) \ - OBJECT_CHECK(XHCIPciState, (obj), TYPE_XHCI_PCI) - +OBJECT_DECLARE_SIMPLE_TYPE(XHCIPciState, XHCI_PCI) =20 typedef struct XHCIPciState { /*< private >*/ --=20 2.26.2