Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp359785imw; Fri, 8 Jul 2022 04:27:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6K7JRteLXeVECtSWfFnui6dyztEJtRdeC+6IkwQE4nH1aY5IB6Ht3WKjhtNG9sbNZtc52 X-Received: by 2002:a17:907:b12:b0:72a:eda8:5bb1 with SMTP id h18-20020a1709070b1200b0072aeda85bb1mr3110954ejl.116.1657279628690; Fri, 08 Jul 2022 04:27:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657279628; cv=none; d=google.com; s=arc-20160816; b=EM9CeS6RhqGvgbIicxBG83+HdpWRx3reOsgnLQlBIqszu25APBx1cAz4ZpS64Ha5ph IBh+aiKCFboOkDXeHKWPaYh/uLYcznvhyeNcwcMts7Pxhz41gqkwgUN5TUQq46B0/DGp NhAhHegErPbdqgeyAo5u8xC6qizlXxVr7bZD/Z/6RRX3kronZUfUnbtNHMvkiJJxU8TR e9PZhUPtT3v0/5UfiZtgxtPTxXmLIY6aPoQP75vqU9KLpCH7jA0v0eInyO1mn1CzC3rG E4eu/ntGKxleLYDfzuAxwYuDiE20BnzUdtBXbMfyGQpo/a2Mkc85qXUbNl7ytqnC+eKP //Fw== 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 :mime-version:user-agent:date:message-id:references:cc:to:from :subject; bh=UnB84IzAbjKIYhOaSRj5BMWkyUB2k2baEQVqn2zrzFM=; b=ey4tAH2OGp49CCm2bj4IaxWF99gbmGvsJCB/LIyDyKpImaqsPbny6xonzmQWJyYxUk riB2OgFw+7pEbHaWLmojGLSrT0zzVP2h8198gKDnM7YOpVEp2xXyVnKOVcbYR14skd/o B23Og6pXT28sAo6qfmQPdFy4hvjPMTsVfX3oTxxk+tgF9Bkdhw5LednZ55czfjmOj1x5 R85M+Wa0rGwQjXYYpArxF54AVFtcQXsH8S/e1gZh7xehg2/McMKtMpkn4MdHTZ3kXian KQYh25ZpGDRdZHlHsPK32epNpHCion574JT575wIr1Ghz13JJtHiFL/ichnXBdPU8fRZ eGLg== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a05640214cc00b0043a7f8ba394si4537202edx.43.2022.07.08.04.26.42; Fri, 08 Jul 2022 04:27:08 -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; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237559AbiGHLOp (ORCPT + 99 others); Fri, 8 Jul 2022 07:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237346AbiGHLOo (ORCPT ); Fri, 8 Jul 2022 07:14:44 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A82E88F35 for ; Fri, 8 Jul 2022 04:14:40 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4LfVwp4ZBlz1L9Fg; Fri, 8 Jul 2022 19:12:10 +0800 (CST) Received: from kwepemm600013.china.huawei.com (7.193.23.68) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 8 Jul 2022 19:14:38 +0800 Received: from [10.174.178.46] (10.174.178.46) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 8 Jul 2022 19:14:37 +0800 Subject: Re: [PATCH -next] ubifs: Fix some kernel-doc comments From: Zhihao Cheng To: Yang Li , CC: , , "Abaci Robot" References: <20220602055233.26161-1-yang.lee@linux.alibaba.com> <2df4d326-c59a-52d2-c5aa-02954ddca97a@huawei.com> Message-ID: <7f4a0b5d-373f-0cb4-f1ea-5712d08a6bdb@huawei.com> Date: Fri, 8 Jul 2022 19:14:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <2df4d326-c59a-52d2-c5aa-02954ddca97a@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.178.46] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600013.china.huawei.com (7.193.23.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,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 在 2022/7/8 17:17, Zhihao Cheng 写道: > 在 2022/6/2 13:52, Yang Li 写道: >> Remove warnings found by running scripts/kernel-doc, >> which is caused by using 'make W=1'. >> fs/ubifs/journal.c:1221: warning: Function parameter or member >> 'old_inode' not described in 'ubifs_jnl_rename' >> fs/ubifs/journal.c:1221: warning: Function parameter or member 'old_nm' >> not described in 'ubifs_jnl_rename' >> fs/ubifs/journal.c:1221: warning: Function parameter or member >> 'new_inode' not described in 'ubifs_jnl_rename' >> fs/ubifs/journal.c:1221: warning: Function parameter or member 'new_nm' >> not described in 'ubifs_jnl_rename' >> fs/ubifs/journal.c:1221: warning: Function parameter or member >> 'whiteout' not described in 'ubifs_jnl_rename' >> fs/ubifs/journal.c:1221: warning: Excess function parameter 'old_dentry' >> description in 'ubifs_jnl_rename' >> fs/ubifs/journal.c:1221: warning: Excess function parameter 'new_dentry' >> description in 'ubifs_jnl_rename' >> >> Reported-by: Abaci Robot >> Signed-off-by: Yang Li >> --- >>   fs/ubifs/journal.c | 7 +++++-- >>   1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c >> index 75dab0ae3939..16857d4e9aa8 100644 >> --- a/fs/ubifs/journal.c >> +++ b/fs/ubifs/journal.c >> @@ -1201,9 +1201,12 @@ int ubifs_jnl_xrename(struct ubifs_info *c, >> const struct inode *fst_dir, >>    * ubifs_jnl_rename - rename a directory entry. >>    * @c: UBIFS file-system description object >>    * @old_dir: parent inode of directory entry to rename >> - * @old_dentry: directory entry to rename >> + * @old_inode: parent inode to rename >> + * @old_nm: name of old inode to rename >>    * @new_dir: parent inode of directory entry to rename >> - * @new_dentry: new directory entry (or directory entry to replace) >> + * @new_inode: new inode to rename >> + * @new_nm: name of new inode to rename >> + * @whiteout: whiteout inode >>    * @sync: non-zero if the write-buffer has to be synchronized >>    * >>    * This function implements the re-name operation which may involve >> writing up >> > Reviewed-by: Zhihao Cheng Please ignore this review tag, sorry for this mistaken reply, the review tag is for v2. > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/