diff options
| author | Mel Gorman <[email protected]> | 2021-07-01 01:53:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-01 18:06:02 +0000 |
| commit | b417941f3ab1a276255e3ae52ff261dc2e196de7 (patch) | |
| tree | 7bb9f1875634f8785d9df24bb8cd3819a1da342f /mm/mapping_dirty_helpers.c | |
| parent | mm/page_alloc: make should_fail_alloc_page() static (diff) | |
| download | kernel-b417941f3ab1a276255e3ae52ff261dc2e196de7.tar.gz kernel-b417941f3ab1a276255e3ae52ff261dc2e196de7.zip | |
mm/mapping_dirty_helpers: remove double Note in kerneldoc
make W=1 generates the following warning for mm/mapping_dirty_helpers.c
mm/mapping_dirty_helpers.c:325: warning: duplicate section name 'Note'
The helper function is very specific to one driver -- vmwgfx. While the
two notes are separate, all of it needs to be taken into account when
using the helper so make it one note.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
| -rw-r--r-- | mm/mapping_dirty_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mapping_dirty_helpers.c b/mm/mapping_dirty_helpers.c index b890854ec761..ea734f248fce 100644 --- a/mm/mapping_dirty_helpers.c +++ b/mm/mapping_dirty_helpers.c @@ -317,7 +317,7 @@ EXPORT_SYMBOL_GPL(wp_shared_mapping_range); * pfn_mkwrite(). And then after a TLB flush following the write-protection * pick up all dirty bits. * - * Note: This function currently skips transhuge page-table entries, since + * This function currently skips transhuge page-table entries, since * it's intended for dirty-tracking on the PTE level. It will warn on * encountering transhuge dirty entries, though, and can easily be extended * to handle them as well. |
