From nobody Tue Sep 9 06:37:10 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1640954887; cv=none; d=zohomail.com; s=zohoarc; b=UguJSXWLkAfwG2IhNcBdT6R+qrEWy7r+IcAbYYUPfeTOXQUSS6evNnarG0F83ZIgpn3+/lYIYn0HOf92i3+X5wpfDHA0q3l+44HvPyIxLA/M1FkHH3LPrKKEMLgOTxzasSe6+/+kqef6GqTHh4Ae8yqJhdZGqnYnZxPh+v5VpL8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1640954887; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=w+4sOFVvGeEBA7BnPdfDCmGmrSKk6Q3SFRcpoINpXLs=; b=hgq3BvKje3Ag/CCZ2yfLixBf+oScUtiXQXH20EtYjB/fbmRuq+nvmZGIT66nTwoIoNdj0/e/hauMIpvEG0ryUlr2i5FnVEaxSVVIGjnVXh8mb/ZgUvVK3cRsIcDpUpcKDgAHuTh/iSntgq8rmiULpLDi0h16wHrC9SF8bHKrwsY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1640954887924796.5038496447922; Fri, 31 Dec 2021 04:48:07 -0800 (PST) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-503-UahCR82AODyB36kU_Oz-sw-1; Fri, 31 Dec 2021 07:48:06 -0500 Received: by mail-wr1-f69.google.com with SMTP id g6-20020adfbc86000000b001a2d62be244so6238215wrh.23 for ; Fri, 31 Dec 2021 04:48:05 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (26.red-83-50-86.dynamicip.rima-tde.net. [83.50.86.26]) by smtp.gmail.com with ESMTPSA id r7sm25915338wrt.77.2021.12.31.04.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Dec 2021 04:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1640954887; 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=w+4sOFVvGeEBA7BnPdfDCmGmrSKk6Q3SFRcpoINpXLs=; b=WjT3nnVcpn996B/KLPepHl0FNciZIifax+7FLZwoKdqnnefLx6y4JgHxHXRnTmLtB8WS4+ PLEm7cMjQsg6LsnV0/I5omnBaUXXEBZSQsN8VOowXZFFPPqKf2soXjVhyEh9jS3PfJsn/w jZB4ic3AE/5JnSlp7gbH8XkmO3U2S00= X-MC-Unique: UahCR82AODyB36kU_Oz-sw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w+4sOFVvGeEBA7BnPdfDCmGmrSKk6Q3SFRcpoINpXLs=; b=ViKYPMJpikUz4kCrnyxIiaUgikZZ2h0sDt8ofWNY8YM51yRJfvcI3VU9ghizRboUk+ EKPaKxbDL5NXI8BVfXZ6Ys7pj6YokcyWAABQ4TzGqj3P3tPoDPbkd1wyMxKBDJoVcgQr Jf2REasMZ/u7LBGdWsToXcrBbxEAlOUsqzCcfw0zMIGDyn/s9wdB6ZaKZ922JLkIOJAx Z5fAZFGgEpxS/MbO1SHmO6bG4SShTs2oeMymi+Cl73b+bUHu1lV1C24wsRtywB4v+xLa LtnBs7dlaLjsixXM0V7llQg7A0hGRvaSwxNbSalSHqsAJKaZlZ7a1FWLSLUk2znlrd4/ AXCg== X-Gm-Message-State: AOAM531x5xAeT+HmkSymu6VOe109jXNMLJ2NXERLCrgZtUUavdke5+it ngmwWZUbT6KGOIu2IIf+y4v5bumqrxq51+AEPWuKIHbM8JEekooWqV/odJ/oKnlL3dPmG7jt1KG e8qRc9oZAbQITAg== X-Received: by 2002:a5d:5552:: with SMTP id g18mr29566583wrw.488.1640954884853; Fri, 31 Dec 2021 04:48:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLVTENjJV+R2FLSYKqDJYJt9nlJEAyU3i2Iu97NnYhrmRKk/KTo07di/XWcmiH/9jMF9bLIg== X-Received: by 2002:a5d:5552:: with SMTP id g18mr29566569wrw.488.1640954884653; Fri, 31 Dec 2021 04:48:04 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Yanan Wang , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 02/20] hw/qdev: Correct qdev_init_gpio_out_named() documentation Date: Fri, 31 Dec 2021 13:47:36 +0100 Message-Id: <20211231124754.1005747-3-philmd@redhat.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211231124754.1005747-1-philmd@redhat.com> References: <20211231124754.1005747-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) X-ZM-MESSAGEID: 1640954890574000001 From: Philippe Mathieu-Daud=C3=A9 qdev_init_gpio_out_named() is described as qdev_init_gpio_out(), and referring to itself in an endless loop, which is confusing. Fix. Reported-by: Yanan Wang Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Yanan Wang Message-Id: <20211218130437.1516929-3-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- 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 59a822ffceb..dcf20c69b89 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -621,7 +621,7 @@ void qdev_init_gpio_in(DeviceState *dev, qemu_irq_handl= er handler, int n); void qdev_init_gpio_out(DeviceState *dev, qemu_irq *pins, int n); =20 /** - * qdev_init_gpio_out: create an array of named output GPIO lines + * qdev_init_gpio_out_named: create an array of named output GPIO lines * @dev: Device to create output GPIOs for * @pins: Pointer to qemu_irq or qemu_irq array for the GPIO lines * @name: Name to give this array of GPIO lines --=20 2.33.1