From nobody Sat May 18 14:01:43 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1678865218; cv=none; d=zohomail.com; s=zohoarc; b=h9YZnRIBru8xeYY1c4xr52zJR1xEmG6Omn9GeNfYWZ/gzYU1AWGFSN+vaS57TVWC0H1MNV8qBqnJujWQ17jR3u4nAAqrVRwj0hjzBkSNbx1Ub3Aujv5rEQiSmYdA7+glZfP6BfbOmrHXiC3uEdHAhGVdRPE0BX386TTdf0+/aHU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678865218; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=I/xcp3c0rBUe8EoJVcf/sCv93NcgDWq2bhNv8uEsdUo=; b=W4XWuJX/62DzI557ZmVs8EF1UCJ3BFKyRwJySws6lICawER9tIgewpPU7NWiqYAC4WeTD7Zf0N5jZsVzbWJ0Kgs7svJIvsU964qrTCbWt3RWu/9vqwnbt50lzBkm/e++47tc3MIktuvQeK2eH6xUJtLTpTNyYidk4vPTfAXW1qk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1678865218283692.3940892680599; Wed, 15 Mar 2023 00:26:58 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcLWX-0000J6-9H; Wed, 15 Mar 2023 03:26:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcLWQ-0000Ii-9d for qemu-devel@nongnu.org; Wed, 15 Mar 2023 03:26:06 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcLWO-00013W-JR for qemu-devel@nongnu.org; Wed, 15 Mar 2023 03:26:06 -0400 Received: by mail-ed1-x536.google.com with SMTP id cy23so71606403edb.12 for ; Wed, 15 Mar 2023 00:26:03 -0700 (PDT) Received: from Provence.localdomain (dynamic-077-013-132-226.77.13.pool.telefonica.de. [77.13.132.226]) by smtp.gmail.com with ESMTPSA id r23-20020a50aad7000000b004f9e6495f94sm1955884edc.50.2023.03.15.00.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 00:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678865162; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=I/xcp3c0rBUe8EoJVcf/sCv93NcgDWq2bhNv8uEsdUo=; b=WQrI8kuQrhEx1sfj8Ig5aX0LA3J5geuYLvLzG+45uRBac7nChOJgYiIQ0S4lyVJspO zqRJ6mTV6eJSyXtlugYCchF9scspMkf7TZNlkqZ/gSJjo7mQARA/XD7miWWIqptjgVa8 n9kuzGfCBJYA1OzufEpfTgAZ1WcfDN8nsrGkTd5/+T5TVMoWW3Ozb4weY5Z27WFCqAtU PdOlbr//p/U6E/6pOaxkH/y4v6qVN1V96RvpTQp8xU/2v34UHqxvWiIbAvEvPLTRRQ5W olVN9TZEdhTxremNgcNvbd2haYg8iRicrON25gjRO8digN+AnOJDfWbRF1JmbCGqMP7P dCtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678865162; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I/xcp3c0rBUe8EoJVcf/sCv93NcgDWq2bhNv8uEsdUo=; b=it4hZX9BA+Ie5i76E2w0bsN7z+S2mjdiXeDNqaOmx+moNuTr1hTLgv0q60eKr23KhF YbzD+FrqLRXakm97R1LqxQ4unuFJj44wlV72c6ivXsZf6F1oEom2wlI0JVnAR0B6h8rf UmJhOlJaXd+3FAiyLBg/qdov7U8ND08NvifcbB4McEGakJzzGiJ+kTRdXrENalpHO90c HzcoKNfCIoT6xPbViJdLJSOCVG3SaQEUaclFswWaPvEFeAdLD3ihG2uGevlkGNAv3BGF 9ilcI1f7GXWTrD4KY4HM0L72nRw2QueUzRhDFMqLNJxqVB5b2QJC3M0NIzbMw2Suc3Ib Gxjg== X-Gm-Message-State: AO0yUKUqoIYWNNYNV4qb7FU94F8nriLcl98oRTRgBwA2R0j9OYwaD8lH z0ARz7JYRVKN8DnuOspEmdOyqsNRKoY= X-Google-Smtp-Source: AK7set9M1ey+ctctlliR6VEUWV9luwBVH7ERrQ4NBNw4EzA58ZoQOuXv1VQUgkobPaFIcoz6lf6qKQ== X-Received: by 2002:aa7:cb18:0:b0:4fc:494a:98f5 with SMTP id s24-20020aa7cb18000000b004fc494a98f5mr1732384edt.29.1678865162208; Wed, 15 Mar 2023 00:26:02 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: Peter Xu , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , David Hildenbrand , Bernhard Beschow Subject: [PATCH for 8.0] exec/memory: Fix kernel-doc warning Date: Wed, 15 Mar 2023 08:25:52 +0100 Message-Id: <20230315072552.47117-1-shentey@gmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1678865219422100003 Content-Type: text/plain; charset="utf-8" During build the kernel-doc script complains about the following issue: src/docs/../include/exec/memory.h:1741: warning: Function parameter or me= mber 'n' not described in 'memory_region_unmap_iommu_notifier_range' src/docs/../include/exec/memory.h:1741: warning: Excess function paramete= r 'notifier' description in 'memory_region_unmap_iommu_notifier_range' Settle on "notifier" for consistency with other memory functions. Fixes: 7caebbf9ea53 ("memory: introduce memory_region_unmap_iommu_notifier_range()") Signed-off-by: Bernhard Beschow Reviewed-by: David Hildenbrand Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- include/exec/memory.h | 2 +- softmmu/memory.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 6fa0b071f0..15ade918ba 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -1738,7 +1738,7 @@ void memory_region_notify_iommu_one(IOMMUNotifier *no= tifier, * * @notifier: the notifier to be notified */ -void memory_region_unmap_iommu_notifier_range(IOMMUNotifier *n); +void memory_region_unmap_iommu_notifier_range(IOMMUNotifier *notifier); =20 =20 /** diff --git a/softmmu/memory.c b/softmmu/memory.c index 4699ba55ec..5305aca7ca 100644 --- a/softmmu/memory.c +++ b/softmmu/memory.c @@ -1996,17 +1996,17 @@ void memory_region_notify_iommu_one(IOMMUNotifier *= notifier, } } =20 -void memory_region_unmap_iommu_notifier_range(IOMMUNotifier *n) +void memory_region_unmap_iommu_notifier_range(IOMMUNotifier *notifier) { IOMMUTLBEvent event; =20 event.type =3D IOMMU_NOTIFIER_UNMAP; event.entry.target_as =3D &address_space_memory; - event.entry.iova =3D n->start; + event.entry.iova =3D notifier->start; event.entry.perm =3D IOMMU_NONE; - event.entry.addr_mask =3D n->end - n->start; + event.entry.addr_mask =3D notifier->end - notifier->start; =20 - memory_region_notify_iommu_one(n, &event); + memory_region_notify_iommu_one(notifier, &event); } =20 void memory_region_notify_iommu(IOMMUMemoryRegion *iommu_mr, --=20 2.40.0