From patchwork Wed Jul 12 07:12:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 118891 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp976320vqm; Wed, 12 Jul 2023 00:46:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlEb/PxE/SFGy4xW2dVC/R3aFCixD8DyBCi1z4O/ncjar64vW+PgzQwdKUuDHE6TQMWoRDQg X-Received: by 2002:a17:906:7393:b0:993:f081:2c5d with SMTP id f19-20020a170906739300b00993f0812c5dmr1597706ejl.0.1689148007538; Wed, 12 Jul 2023 00:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689148007; cv=none; d=google.com; s=arc-20160816; b=nM2aDPilu2jWAqVoP383cpg8T/ifnCIoyLOBe4M9g5AY8UvP1cqPzQPOHaeNuLX1fd c7+63au589ZMAbGdmvr3mOY9H5tU2jCn5aK1Dg0czB3JklDkkVQa3+BrxHzsQKf+gHyk i1uhVannHXHBIcOOBw0COVNWmecm2UnPuyFZeMhAAC0RfaLliQnrT+q/Ml0ksZzedn1K 8vIl4J0rfQTP8koKroN9cGLOWkkSsXKufe29ISUBSuN9Gt3KQsqQJNa1Bxd1Al/Yx0dZ L3qpX6aRCXXyT4W6g/bIL4vBrBsZ4Lc9Q7J3ccNJCxsupB+k5dRll5njpOY+f6CkeQP2 5sQQ== 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=vX6TA8Qxce6uxQ1c7J6U8u0kBZqvJhWsv5Lt8S0xeRQ=; fh=W59j4PyuloEauM7mWCzd328/1SGhmo+tnoUffou20RY=; b=P7zDJkLEPcCwZedfePvTvb3CTzXyZOVgh+zfUNgrMW1XZ7ffyoblkWzfIjekptuMMe RUgjBuIlvAdOaN0bT6cfHZeBl3k59QdE8940S41dGt5op61vq7Kz5Uq+SaIqFUXkY40W 3p8Ay1Kyxx0akXPbtIjhNeuRYPVBZo6/+NHXbRH9F5pogeaB+ZSnHoxoIgfpba/pyKWg pQP7G6k7pV/4VcRAcXgiWwFjnhvzFI5ycp5AWyNLBZ9LsxOIjf1u+HUEt4Z1P5DEn5Yz HI0QYFnV2U1T7kIpDbSLvCCAe/cIWGrVXQHqI5ixHPz7sD61DjqSZhKjbSLQvaA9DPtd FqQg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a1709064f0900b0098d807c0e8esi3891874eju.824.2023.07.12.00.46.24; Wed, 12 Jul 2023 00:46:47 -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=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbjGLHMJ (ORCPT + 99 others); Wed, 12 Jul 2023 03:12:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjGLHMI (ORCPT ); Wed, 12 Jul 2023 03:12:08 -0400 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24AF6BE for ; Wed, 12 Jul 2023 00:12:05 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VnBzP3I_1689145921; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VnBzP3I_1689145921) by smtp.aliyun-inc.com; Wed, 12 Jul 2023 15:12:02 +0800 From: Yang Li To: richard@nod.at Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] ubifs: Fix some kernel-doc comments Date: Wed, 12 Jul 2023 15:12:00 +0800 Message-Id: <20230712071200.78575-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771199598834676931 X-GMAIL-MSGID: 1771200061201047614 Add description of @time and @flags in ubifs_update_time(). to silence the warnings: fs/ubifs/file.c:1383: warning: Function parameter or member 'time' not described in 'ubifs_update_time' fs/ubifs/file.c:1383: warning: Function parameter or member 'flags' not described in 'ubifs_update_time' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5848 Signed-off-by: Yang Li --- fs/ubifs/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c index 436b27d7c58f..5e86ef1be698 100644 --- a/fs/ubifs/file.c +++ b/fs/ubifs/file.c @@ -1375,6 +1375,8 @@ static inline int mctime_update_needed(const struct inode *inode, /** * ubifs_update_time - update time of inode. * @inode: inode to update + * @time: timespec structure to hold the current time value + * @flags: file time flag * * This function updates time of the inode. */