From patchwork Tue Jan 11 17:26:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 531134 Delivered-To: patch@linaro.org Received: by 2002:ad5:544f:0:0:0:0:0 with SMTP id a15csp3702964imp; Tue, 11 Jan 2022 09:59:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJySz+7g5F3qUqgRy/Gqv+K0T5+yJ14Zy3T+nnSVOLm1+woSjfQ84iLQVlNpmgVFfsei9qDi X-Received: by 2002:a25:ac1:: with SMTP id 184mr7345089ybk.598.1641923986495; Tue, 11 Jan 2022 09:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641923986; cv=none; d=google.com; s=arc-20160816; b=c+0PW4W90GXa+HHK5urR+8Saryl8PFAX26WndIwmRN5UtnlCtY20xj32kH+LfWs4fN zNwfBiLFv8EjPoAc2HE86D05qektZfRoZHUA5Qdl2feqk6Ktd2Q/Ggk7+KzbfDg42I8I 9F2o2zUDpQtw00ND9SjgROouQLpMAeQrQrSZsq5qq9oVjmyKQKTS5jc+HgESWxxUI3f7 TxENPWXTdFz+AbFBsYC9PXd+PRlXaYpqSG1t1v9S3M/cD65wy5VTG4ddSjvK+yM4ZDSx PYzAbqAdkk29crM55Ga7gU/YGG3B/BVZRFAN6rAfXDcl1kDfTqcw8C4rDvHogSnMEW6J ATeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=x9uFZuLSxnrrbaKMKz0QEdMW6rR5CgNOqST5WaB5t8E=; b=Ww0ddEYXj3Uzc7C2/8HIptPMmtgPlyza1SIHOKZQU3/ESPRjrH5+5yntOjOrv7WX/2 5nX/DqLTM/J0BpL+/hKRpCbP+cmeAzk/Dfb0UAwZfekao6HLPaIwr4mkbz6PR4a/zRpq /axxeMLXN5KxCbr87rwfj6+W0jYYUYOk+v3KdWOfYLL1d3OVdIzbEXjJQo8r+ySdlxLk DGSUzSR6jETkaiQ8q2POhqZFhz89pEZQX5f5EgOQcz76damY88KREgtSSw2jv3qw8Zt6 hctkhAea0xhabPhqtsWkuP3ddoMtX1vr1cRDYT2r7zP2MgfPEe9OOQEWk1BOs1t55zhw kUVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrbV1mOh; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 185si7749623ybk.788.2022.01.11.09.59.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Jan 2022 09:59:46 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrbV1mOh; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7LQv-00028U-RP for patch@linaro.org; Tue, 11 Jan 2022 12:59:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7KvF-00017L-2D for qemu-devel@nongnu.org; Tue, 11 Jan 2022 12:27:01 -0500 Received: from [2a00:1450:4864:20::435] (port=42975 helo=mail-wr1-x435.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7KvD-0001Nb-CH for qemu-devel@nongnu.org; Tue, 11 Jan 2022 12:27:00 -0500 Received: by mail-wr1-x435.google.com with SMTP id k30so16750593wrd.9 for ; Tue, 11 Jan 2022 09:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=x9uFZuLSxnrrbaKMKz0QEdMW6rR5CgNOqST5WaB5t8E=; b=GrbV1mOh3GxY/tGa2PwoNOD3Y1XctAmgKi70ZGxjjM3SMRW16Ftk/8on3zfc6iwRW1 9kPQaKaj1j7ZxgAMV/CkdI2vOoyJ3gbPuepcka2nm9yUVGPuLBKVbrZsJ/lshhHDaT6m u6oFelc4/stufeSz7e+QADI2+c/xrb/fQYPrFqV7TKehL+5g/EUWZRYf8tNd4ukkE5Q/ lYTOx6nm+V/s5Z+QBdXutwm+qjnScirCYNKMEgMJU/tzDx5fhyEW3cAbR7BKKcOlxQcx us6uFrXyQJhKXNjqFUVpqWmjvIK7+YvJ6hh4hebL/2tNDxzbrjxFQDpjUl70PHwvJsT7 If7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=x9uFZuLSxnrrbaKMKz0QEdMW6rR5CgNOqST5WaB5t8E=; b=mxMB8anewntoYGntkbf4OyaYicg3OXN3pI3sNbxNuMqqQz8V1vyZyj6DFAxFq7RS+s vvvaN9T9ETI8ZXg2wYn6TKv1hJ+3TthSuUSerhMp34Mp4ZEeEmIra/YdAyOuOCNO3Nk4 RtN07UkRAm0JBtPkLXi1/UjlPWg+VXRyIgXvQdyaC6WSGm9zQ/qE5WAMJSn0Aq9Ap35C RFm42TSffjkolrjzRZSMxpR3cwY3/QUx2VE9J29f4kIXXVq8VZisO3H6DuBIJMApN1Dd uxLwGHHpSvdMywMkgwKaxQ+mZIbYvaacdru3+DvXKb1Cl/lKR9nl6aLU2pKniGbGXQtD xOgw== X-Gm-Message-State: AOAM531gNjbljwiX7MXu0m5K35Ir0rqOH7idHa354QAuWr/eYTF24xCW H4fk3XKSEGDCJ8YtMpQmCUAKBeWKAeaEPQ== X-Received: by 2002:a05:6000:1b0e:: with SMTP id f14mr4788807wrz.100.1641922016674; Tue, 11 Jan 2022 09:26:56 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id k33sm2172962wms.21.2022.01.11.09.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:26:56 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Subject: [PATCH] qdev-core.h: Fix wrongly named reference to TYPE_SPLIT_IRQ Date: Tue, 11 Jan 2022 17:26:55 +0000 Message-Id: <20220111172655.3546766-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::435 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Fix a comment in qdev-core.h where we incorrectly referred to TYPE_IRQ_SPLIT when we meant TYPE_SPLIT_IRQ. Signed-off-by: Peter Maydell Reviewed-by: Yanan Wang --- include/hw/qdev-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index d19c9417520..92c3d652086 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -493,7 +493,7 @@ qemu_irq qdev_get_gpio_in_named(DeviceState *dev, const char *name, int n); * qemu_irqs at once, or to connect multiple outbound GPIOs to the * same qemu_irq. (Warning: there is no assertion or other guard to * catch this error: the model will just not do the right thing.) - * Instead, for fan-out you can use the TYPE_IRQ_SPLIT device: connect + * Instead, for fan-out you can use the TYPE_SPLIT_IRQ device: connect * a device's outbound GPIO to the splitter's input, and connect each * of the splitter's outputs to a different device. For fan-in you * can use the TYPE_OR_IRQ device, which is a model of a logical OR