Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm: no blank line after EXPORT_SYMBOL in swap.c

checkpatch rightly protests

WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable

so fix the five offenders in mm/swap.c.

Signed-off-by: Hugh Dickins <hughd@google.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Hugh Dickins and committed by
Linus Torvalds
4d06f382 5095ae83

-5
-5
mm/swap.c
··· 369 369 SetPageReferenced(page); 370 370 } 371 371 } 372 - 373 372 EXPORT_SYMBOL(mark_page_accessed); 374 373 375 374 void __lru_cache_add(struct page *page, enum lru_list lru) ··· 645 646 release_pages(pvec->pages, pagevec_count(pvec), pvec->cold); 646 647 pagevec_reinit(pvec); 647 648 } 648 - 649 649 EXPORT_SYMBOL(__pagevec_release); 650 650 651 651 #ifdef CONFIG_TRANSPARENT_HUGEPAGE ··· 724 726 725 727 pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)lru); 726 728 } 727 - 728 729 EXPORT_SYMBOL(__pagevec_lru_add); 729 730 730 731 /** ··· 748 751 pvec->nr = find_get_pages(mapping, start, nr_pages, pvec->pages); 749 752 return pagevec_count(pvec); 750 753 } 751 - 752 754 EXPORT_SYMBOL(pagevec_lookup); 753 755 754 756 unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, ··· 757 761 nr_pages, pvec->pages); 758 762 return pagevec_count(pvec); 759 763 } 760 - 761 764 EXPORT_SYMBOL(pagevec_lookup_tag); 762 765 763 766 /*