Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4521099rwb; Tue, 8 Nov 2022 19:04:20 -0800 (PST) X-Google-Smtp-Source: AMsMyM6j/zVQN8awep8tIpWFzs/ZiwGRq7HRsbOWzYh8aHdXtsmb1dy62/By+odKKfQGvZEMn+wL X-Received: by 2002:a17:903:32ce:b0:187:143f:4c4d with SMTP id i14-20020a17090332ce00b00187143f4c4dmr55163848plr.135.1667963060134; Tue, 08 Nov 2022 19:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667963060; cv=none; d=google.com; s=arc-20160816; b=VD7bfeRkeQwB9X2x6e1ZfS0hOotEgsXuA2vC/N2vyySUFLv/R//VCsnk9kqMCaRo5E h67YfHLXyqxCyH+u2zzUUXopffHHqKjLuc1EbTlF4TWiBBdR67krxzsbgVCSZAbk6YFq o4R/4BfaO2dDohPVyWHWnkg2Zmt8LhpNnvG8M3sCyws41L4Kn4gvvsgI2+iBQGg7t8Vs ZIWuCJIrD6A8jjZdXGWosZJu1bQ2K6I8DnRKABaS3p8NH2ZI09ndHIcjj8GrlH5iMZXQ +JklWS6EjS7or3uKKlYOvCnEA/jKMjuoSJbm6oGot2IjKoEZvib/NGWiE35GzVWw5aws BqEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=yBebFQwBROBwcz27hJ6Eu7k9A56Jbe85PjveavvQX5c=; b=ttCjO8VLS1CgDJcKxXyGxElujD3M49PFq1Ed1kptxXIcw7DiLNbfLFa5vA6fJea/1z YI2WjawJWITQ2OtxinDlDNkWeC9n1egEk0KADdku5FUIzqXJGDp9s2F+sJcJoqbmxLJA z4dVJztQSuOcOdmIqgzrMU+p5tKPaLC2Rffh1sNRM3kjOXAoyErEQmEcpZHvFc5wQCBK LZku8fqP62ncpX7NbK3N7gdvK1cwYJSViciWTQqr68gp8DFjed9ljBalt5e8Pe9fYMfd ygOrBBM01WhsGD+sReBlQ1Og4MP03qi/u71/ikYdNm7Y2TQJ+4exfHwWKMm36wwdouEC SpWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik9-20020a170902ab0900b00176a8746df6si14535139plb.433.2022.11.08.19.04.06; Tue, 08 Nov 2022 19:04:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230083AbiKICrm (ORCPT + 94 others); Tue, 8 Nov 2022 21:47:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiKICri (ORCPT ); Tue, 8 Nov 2022 21:47:38 -0500 Received: from out199-13.us.a.mail.aliyun.com (out199-13.us.a.mail.aliyun.com [47.90.199.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A9C01FF9A for ; Tue, 8 Nov 2022 18:47:34 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VULiWKz_1667962049; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VULiWKz_1667962049) by smtp.aliyun-inc.com; Wed, 09 Nov 2022 10:47:31 +0800 From: Yang Li To: joro@8bytes.org Cc: will@kernel.org, robin.murphy@arm.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] iommu: Fix some kernel-doc comments Date: Wed, 9 Nov 2022 10:47:29 +0800 Message-Id: <20221109024729.3957-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make the description of @group to @dev in iommu_device_release_dma_owner() to clear the below warnings: drivers/iommu/iommu.c:3235: warning: Function parameter or member 'dev' not described in 'iommu_device_release_dma_owner' drivers/iommu/iommu.c:3235: warning: Excess function parameter 'group' description in 'iommu_device_release_dma_owner' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2820 Fixes: 506c4809b2d3 ("iommu: Add device-centric DMA ownership interfaces") Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/iommu/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 4cb14e44e40f..d299fef4fd81 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c @@ -3227,7 +3227,7 @@ EXPORT_SYMBOL_GPL(iommu_group_release_dma_owner); /** * iommu_device_release_dma_owner() - Release DMA ownership of a device - * @group: The device. + * @dev: get the group that this device belongs to * * Release the DMA ownership claimed by iommu_device_claim_dma_owner(). */ -- 2.20.1.7.g153144c