From: Mel Gorman Date: Wed, 2 Jun 2021 03:53:03 +0000 (+1000) Subject: mm/vmscan: remove kerneldoc-like comment from isolate_lru_pages X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3ffd8130060ac531486934197f3523b1be11a6f4;p=users%2Fjedix%2Flinux-maple.git mm/vmscan: remove kerneldoc-like comment from isolate_lru_pages Patch series "Clean W=1 build warnings for mm/". This is a janitorial only. During development of a tool to catch build warnings early to avoid tripping the Intel lkp-robot, I noticed that mm/ is not clean for W=1. This is generally harmless but there is no harm in cleaning it up. It disrupts git blame a little but on relatively obvious lines that are unlikely to be git blame targets. This patch (of 13): make W=1 generates the following warning for vmscan.c mm/vmscan.c:1814: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst It is not a kerneldoc comment and isolate_lru_pages() is a static function. While the detailed comment is nice, it does not need to be exposed via kernel-doc. Link: https://lkml.kernel.org/r/20210520084809.8576-1-mgorman@techsingularity.net Link: https://lkml.kernel.org/r/20210520084809.8576-2-mgorman@techsingularity.net Signed-off-by: Mel Gorman Reviewed-by: Yang Shi Acked-by: Vlastimil Babka Cc: Michal Hocko Cc: David Hildenbrand Cc: Dan Streetman Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/mm/vmscan.c b/mm/vmscan.c index abd610a526983..60a19fd6ea3f5 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1811,7 +1811,7 @@ static __always_inline void update_lru_sizes(struct lruvec *lruvec, } -/** +/* * Isolating page from the lruvec to fill in @dst list by nr_to_scan times. * * lruvec->lru_lock is heavily contended. Some of the functions that