[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1567162789-137056-1-git-send-email-yukuai3@huawei.com>
Date: Fri, 30 Aug 2019 18:59:49 +0800
From: yu kuai <yukuai3@...wei.com>
To: <darrick.wong@...cle.com>, <linux-xfs@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <yukuai3@...wei.com>, <zhengbin13@...wei.com>,
<yi.zhang@...wei.com>
Subject: [PATCH] xfs: add function name in xfs_trans_ail_delete function header comments
Fix following warning:
make W=1 fs/xfs/xfs_trans_ail.o
fs/xfs/xfs_trans_ail.c:793: warning: Function parameter or member
'ailp' not described in 'xfs_trans_ail_delete'
fs/xfs/xfs_trans_ail.c:793: warning: Function parameter or member
'lip' not described in 'xfs_trans_ail_delete'
fs/xfs/xfs_trans_ail.c:793: warning: Function parameter or member
'shutdown_type' not described in 'xfs_trans_ail_delete'
Since function parameters are described in the comments aready,
there is no need to add parameter comments.
Signed-off-by: yu kuai <yukuai3@...wei.com>
---
fs/xfs/xfs_trans_ail.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c
index 6ccfd75..b69cf59 100644
--- a/fs/xfs/xfs_trans_ail.c
+++ b/fs/xfs/xfs_trans_ail.c
@@ -764,8 +764,8 @@ xfs_ail_delete_one(
return mlip == lip;
}
-/**
- * Remove a log items from the AIL
+/*
+ * xfs_trans_ail_delete - remove a log items from the AIL
*
* @xfs_trans_ail_delete_bulk takes an array of log items that all need to
* removed from the AIL. The caller is already holding the AIL lock, and done
--
2.7.4
Powered by blists - more mailing lists