From patchwork Thu Oct 12 02:48:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 151661 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp945349vqb; Wed, 11 Oct 2023 19:49:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzzighpLopVhjbUZlg8U1nlt7rtkH5dufLQTnox6LQwYMdMVqfjXVa6qwv3QODZboavzo0 X-Received: by 2002:a05:6e02:60a:b0:34f:7ba2:50e8 with SMTP id t10-20020a056e02060a00b0034f7ba250e8mr22634762ils.2.1697078945751; Wed, 11 Oct 2023 19:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697078945; cv=none; d=google.com; s=arc-20160816; b=h+VmKv/hwz96Hp1BP2oJkqhs49f52dxRgkqYmYB0DVjdN4/OCEdzuC9KXDvHYZVTz+ I15ALmMlIhGgnYja5aXBuk6Nklv25RK5sQGqKDPfQ4Zm+dCCXpC+cG7br7/zmyWfHBQ3 QQU8Of2dPAmyH8tINt9/1XsXmppgIsTThKYDPZBNG/PLaJG3c3Hpc1dC4EiPhY9rBMuy iiJpiWz1DidlOw2Vtzo3xWWQP15CnZeXaISSpYck5dgK8Dfwfz9IZY9mpsi9UER49Icm 99X8xp3xP9VXKQFE1nrOgaNewQElqizkDmBc4g8LDqidmIZ9TRLSbUTqQFnol/9xAINt O2gA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qmlUn/f3e8UXJAuEhnJXHHHbWqPpc8bMN+0dzccnErM=; fh=ZbvLlniUsxGLukUHdtjOOGtwnXITbomFxOFWw6lgkU0=; b=MMaUtko6/PhH7M46nlYa4nDaBm/X9PCoYslH+9TFadkJ8cJQ75XVX0k7XWdPYUZJTK OW0yBA+Tkbem9y4+qxsDLpOJ0pwdHzWEhQKrtODACA3sOFoDH+A+iWuljOnPiKSMBlck gdJQelxKVB8oSQsyyLcvRwJadWSQq9PezwL6t0y0ZrrPypcXwGkpNFbRMgwF0ZUENSGA ZVYUqqWw+vCuRAUuD0KqauCnO/fPZv5OuMPbpVAy/iA+01+uMA0u277ESX0jP/Mj1PhN kgMjSrP+KL5DZmpJJBQI64HgiQKBsgetBv4vMKHSzKbia7zZI8ktvFs8YOAXHuAl1Y7L f3aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zm2Mwrc3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d33-20020a631d21000000b00578d7a3a4fdsi1112112pgd.563.2023.10.11.19.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 19:49:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zm2Mwrc3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 09A6F81B75F8; Wed, 11 Oct 2023 19:49:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376757AbjJLCtB (ORCPT + 18 others); Wed, 11 Oct 2023 22:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347029AbjJLCsv (ORCPT ); Wed, 11 Oct 2023 22:48:51 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91416B7 for ; Wed, 11 Oct 2023 19:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=qmlUn/f3e8UXJAuEhnJXHHHbWqPpc8bMN+0dzccnErM=; b=zm2Mwrc3+RHACLCl5aF1CcKVuy zxSSPNlWJsGir9wRV11lZIJ+qZNSa3YbrXZFZKohDTgYLDaAF9XPeSqeDIAfUqShsY2aYsXAayxJZ QHDGxRVve4iQIhvgGy3O+NMVS4TgPAwKHGRnhaN/sg88VAM70/ZExBlcTIA70jQJphYXpxhohVfDE 3S8JrrfMycCxA2+Zrg0Z996KFxwyowlrLc1pRiBA2rD+WWFzj8G+smrOeMxGR9rJIvA382DPaAykk d7fGeC/A+oS5tTmr64UJs081pBY9WQ6H/BeJ0CWbZsY9WumEHmbQKbdcwQrvqzSVATcjJj60gPUnK IS3Ouqsg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qqlkm-00HDiv-1K; Thu, 12 Oct 2023 02:48:48 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Tomas Winkler , Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH 3/7] misc: mei: dma-ring.c: fix kernel-doc warnings Date: Wed, 11 Oct 2023 19:48:41 -0700 Message-ID: <20231012024845.29169-4-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231012024845.29169-1-rdunlap@infradead.org> References: <20231012024845.29169-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 19:49:05 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779516252608108065 X-GMAIL-MSGID: 1779516252608108065 Fix kernel-doc warnings in dma-ring.c: dma-ring.c:130: warning: No description found for return value of 'mei_dma_copy_from' dma-ring.c:150: warning: No description found for return value of 'mei_dma_copy_to' Signed-off-by: Randy Dunlap Cc: Tomas Winkler Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/mei/dma-ring.c | 4 ++++ 1 file changed, 4 insertions(+) diff -- a/drivers/misc/mei/dma-ring.c b/drivers/misc/mei/dma-ring.c --- a/drivers/misc/mei/dma-ring.c +++ b/drivers/misc/mei/dma-ring.c @@ -124,6 +124,8 @@ void mei_dma_ring_reset(struct mei_devic * @buf: data buffer * @offset: offset in slots. * @n: number of slots to copy. + * + * Return: number of bytes copied */ static size_t mei_dma_copy_from(struct mei_device *dev, unsigned char *buf, u32 offset, u32 n) @@ -144,6 +146,8 @@ static size_t mei_dma_copy_from(struct m * @buf: data buffer * @offset: offset in slots. * @n: number of slots to copy. + * + * Return: number of bytes copied */ static size_t mei_dma_copy_to(struct mei_device *dev, unsigned char *buf, u32 offset, u32 n)