Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4169019rwb; Tue, 16 Aug 2022 16:11:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR73kLnW5vcW+88kLbxGFrXDWZo3CZn+fWSLoz56jp/HmWKUGfkZaRu+KHlagIKXx0GLPr7U X-Received: by 2002:a17:907:3f85:b0:733:3f0e:2f28 with SMTP id hr5-20020a1709073f8500b007333f0e2f28mr14626659ejc.376.1660691513384; Tue, 16 Aug 2022 16:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660691513; cv=none; d=google.com; s=arc-20160816; b=IY43KI7btNzWqeISSZyQD6A+eysxbbU1ssBuDAWQ7p7T7Qv97mYZv2YyDU7Jefamx6 RwgWc0Deiq5veFUYXpEkg917Grv9ojSefcDVLwwRlF59fTwE6GElF7Zl9GbsFVUKWGuq qRQFYGRCAUrx2TGj/ZeW6UpqRBcNcLV3c7ndl1pya5bpuLP82PiZa5zZGhsMcl4XpLix ms3xkeFNnXwvWz9GIpZuS98UZZSOzC9HkEEOR92jRIuJo6fuvVjjrZBksDyQrEwbiwtm H2IwHifOTUYpjY0RXKT16uKqKi5CErXs8ECFfb2y1b90M19wgIYiPmDT5Gtk/rVuSazA 1/yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=2YSX9MTzjphg3Pl8EWZLgii2B9uxrEDNzX37H2U4FY8=; b=Ser96oi7qxuH9sGxckXGyRq1VQlCLVmwY2JECQKmS/bcINbkfJzVQVBT5Loey2njMu 9rm5VEXIayadI1uw4FkY3DLOn7gkoBJYKb86GPfEXHO8OUqLSBA9JrZ8tBv8OvTG0kuN BT5VTXeyv8BfLfKXU8jkyNy+d2HnW1YMPq2DKlMUKzkRlFfp4VzfiiG5GSArknmQBrbB m3VkDrjfqnvY3KjPjNDC2ih9YVmOALep6eG/06wAS4wb2VUWbYGyXDmCv77XU11FTVNH 0iIQMi6fcIxymnjVm3VqAtaskgmFEffE7eRzObFRAqxTLBFmgwiTJxuVqnp8IJc1DkHv w3oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EDzLUTgn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a05640226c500b0043ce8b2c72dsi12409841edd.36.2022.08.16.16.11.26; Tue, 16 Aug 2022 16:11:53 -0700 (PDT) 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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EDzLUTgn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237599AbiHPWrx (ORCPT + 99 others); Tue, 16 Aug 2022 18:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbiHPWrv (ORCPT ); Tue, 16 Aug 2022 18:47:51 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC4B7910A6; Tue, 16 Aug 2022 15:47:50 -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: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=2YSX9MTzjphg3Pl8EWZLgii2B9uxrEDNzX37H2U4FY8=; b=EDzLUTgn+Obi4+hBg0tFp/TxJJ D/CcmuyO0mF0oZABfIlNwYmbY1rgLj675s5hGvnGABb5faUdtmkwZ8U6TeAq7/PJLLbMu7IXqEZQE dwjpeMNdPkn1/HHnnElhyJI/xBlGxhsZcYob/xstU7pwfa7tHMZ1a0vK5zv1KaC4xiQuySYtwwvCD NAQuHgKerHAZ/y8AUB1k5vLlehjnAGYVABRXunH9i/Yqrtt4XtnFAd+CEElraS4Hr5IkH9LRC+u5j 9iQbfMAQSvKSXdl2enGSIkjJ5jmAe6Av4C5jBX6FqVcbkw+7/j62jrQOdvsMUbKUsoKzZF2ZgM+Io AZ4YOigQ==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oO5Le-007bMa-HA; Tue, 16 Aug 2022 22:47:46 +0000 Message-ID: Date: Tue, 16 Aug 2022 15:47:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH -next] fs/kernel_read_file: Fix some kernel-doc comments Content-Language: en-US To: Yang Li , viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20220815054411.68818-1-yang.lee@linux.alibaba.com> From: Randy Dunlap In-Reply-To: <20220815054411.68818-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On 8/14/22 22:44, Yang Li wrote: > Add a colon between the parameter name and description to meet the > scripts/kernel-doc. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1901 > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: Randy Dunlap Thanks. > --- > fs/kernel_read_file.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/fs/kernel_read_file.c b/fs/kernel_read_file.c > index 5d826274570c..c4fc84e6d099 100644 > --- a/fs/kernel_read_file.c > +++ b/fs/kernel_read_file.c > @@ -8,16 +8,16 @@ > /** > * kernel_read_file() - read file contents into a kernel buffer > * > - * @file file to read from > - * @offset where to start reading from (see below). > - * @buf pointer to a "void *" buffer for reading into (if > + * @file: file to read from > + * @offset: where to start reading from (see below). > + * @buf: pointer to a "void *" buffer for reading into (if > * *@buf is NULL, a buffer will be allocated, and > * @buf_size will be ignored) > - * @buf_size size of buf, if already allocated. If @buf not > + * @buf_size: size of buf, if already allocated. If @buf not > * allocated, this is the largest size to allocate. > - * @file_size if non-NULL, the full size of @file will be > + * @file_size: if non-NULL, the full size of @file will be > * written here. > - * @id the kernel_read_file_id identifying the type of > + * @id: the kernel_read_file_id identifying the type of > * file contents being read (for LSMs to examine) > * > * @offset must be 0 unless both @buf and @file_size are non-NULL -- ~Randy