From patchwork Thu Sep 1 16:25:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 1673041 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=M5xoyQq+; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MJRdr0s1wz1yhP for ; Fri, 2 Sep 2022 02:41:52 +1000 (AEST) Received: from localhost ([::1]:48906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTnGH-0003FM-Vg for incoming@patchwork.ozlabs.org; Thu, 01 Sep 2022 12:41:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTn1x-0001nZ-6I for qemu-devel@nongnu.org; Thu, 01 Sep 2022 12:27:01 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:35563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTn1v-0001UA-1e for qemu-devel@nongnu.org; Thu, 01 Sep 2022 12:27:00 -0400 Received: by mail-ed1-x536.google.com with SMTP id y64so11483536ede.2 for ; Thu, 01 Sep 2022 09:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=BMmSdP4ZZVtB54ezr9h7KI51scbR0FMH6vF9qMiRlSs=; b=M5xoyQq+B4UC9JlKPpaQsh3f5Ot4yjahZUg+QRu0nCCXi2fXIh0gTZk5S2+tIZIWWA NVtFubYDEDb0zmT6VJRFMptDvfojlSi6+gPttJ2x3W2upaDffMOiIPcEyaibTGhBs7+r P9jjHKCjfZ5PBIdhxPh9Yi5qkQIabev6TdJF5ookuAlyZPN++yKl6m4QoLHbqnLBiFUP gD7tyAP4svCKuiCgZmviDHj4JxDYsrhcvtlhB2NlL/o2cvFam2fw6V+ByuFBmknr2d/M taZ1O520nzK70Yxn0JWErmxCVHTRYg/NZi2q2A2EIoyYUeqgA9emRjvPSKuM+psliLtw 5jfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=BMmSdP4ZZVtB54ezr9h7KI51scbR0FMH6vF9qMiRlSs=; b=nXEHmqnGnqRynpQ1VUtiUX6SVLmj1VP14VET7Q4uHqTZgrRJPbRaz0UcKiB8E03y7K FX/rXRGJyL4v71NQ/HJzIEg6GzpaX51+JrMggyAAeCUd9xFg7276YeqQZ1AUmrxeDKVp fT9wfjSwH+mVIwTgAd+kUab7JECKO6d47/IzgLxVRw+AsHhlUiZorcwAXZvNqEHLB2HZ N1zq61lsoX9/9yhmUPfNQJdoD5GCXJ8+vekxJkQxaONPYyS/30V6ZkkJdXPuKFP1gLKD de8pmC5CTg4eOvwD/zWQIDyKM3KAdO5lIskWvOM7+ByiOQfB+u4Tnq4HIe24lW165QMj DFkA== X-Gm-Message-State: ACgBeo1pf20snZdIxsGtCaZaQYuUAr9y7t0qeT1FzA6A77jKso3a2rNT otHC3+rBJs7WaT/RJxzz+toQgkHoylA= X-Google-Smtp-Source: AA6agR4/YWqmay54hSbUrfmVBIk0JW7ouWou6rOnPaiLDXLRXSqFdf5zLdks8OWPYAMGSzJdGEh9Cg== X-Received: by 2002:a05:6402:190d:b0:447:ed22:4d0d with SMTP id e13-20020a056402190d00b00447ed224d0dmr25616390edz.309.1662049618214; Thu, 01 Sep 2022 09:26:58 -0700 (PDT) Received: from osoxes.fritz.box (p200300faaf0bb2009c4947838afc41b6.dip0.t-ipconnect.de. [2003:fa:af0b:b200:9c49:4783:8afc:41b6]) by smtp.gmail.com with ESMTPSA id p6-20020aa7d306000000b00447c0dcbb99sm1587672edq.83.2022.09.01.09.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 09:26:57 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Her?= =?utf-8?q?v=C3=A9_Poussineau?= , Aurelien Jarno , Paolo Bonzini , Eduardo Habkost , Richard Henderson , Jiaxun Yang , Ani Sinha , Igor Mammedov , Marcel Apfelbaum , "Michael S. Tsirkin" , Bernhard Beschow , Peter Maydell Subject: [PATCH 11/42] hw/isa/piix3: Remove extra ';' outside of functions Date: Thu, 1 Sep 2022 18:25:42 +0200 Message-Id: <20220901162613.6939-12-shentey@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220901162613.6939-1-shentey@gmail.com> References: <20220901162613.6939-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=shentey@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Fixes the "extra-semi" clang-tidy check. Signed-off-by: Bernhard Beschow Reviewed-by: Peter Maydell --- hw/isa/piix3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/isa/piix3.c b/hw/isa/piix3.c index e85dec3200..0117f896d2 100644 --- a/hw/isa/piix3.c +++ b/hw/isa/piix3.c @@ -438,7 +438,7 @@ static void piix3_realize(PCIDevice *dev, Error **errp) pci_bus_irqs(pci_bus, piix3_set_irq, pci_slot_get_pirq, piix3, PIIX_NUM_PIRQS); pci_bus_set_route_irq_fn(pci_bus, piix3_route_intx_pin_to_irq); -}; +} static void piix3_class_init(ObjectClass *klass, void *data) { @@ -473,7 +473,7 @@ static void piix3_xen_realize(PCIDevice *dev, Error **errp) */ pci_bus_irqs(pci_bus, xen_piix3_set_irq, xen_pci_slot_get_pirq, piix3, XEN_PIIX_NUM_PIRQS); -}; +} static void piix3_xen_class_init(ObjectClass *klass, void *data) { @@ -481,7 +481,7 @@ static void piix3_xen_class_init(ObjectClass *klass, void *data) k->config_write = piix3_write_config_xen; k->realize = piix3_xen_realize; -}; +} static const TypeInfo piix3_xen_info = { .name = TYPE_PIIX3_XEN_DEVICE,