From 24d212e5db553cfb4bb562fc326cf6fec2ddb9f5 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 26 May 2020 10:36:12 +1000 Subject: [PATCH] arch-kmap_atomic-consolidate-duplicate-code-checkpatch-fixes WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #289: FILE: arch/nds32/mm/highmem.c:35: +EXPORT_SYMBOL(kmap_atomic_high); total: 0 errors, 1 warnings, 353 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/arch-kmap_atomic-consolidate-duplicate-code.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Ira Weiny Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- arch/nds32/mm/highmem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c index f5f3a21460c492..d4387d8358708f 100644 --- a/arch/nds32/mm/highmem.c +++ b/arch/nds32/mm/highmem.c @@ -31,7 +31,6 @@ void *kmap_atomic_high(struct page *page) __nds32__isb(); return (void *)vaddr; } - EXPORT_SYMBOL(kmap_atomic_high); void __kunmap_atomic(void *kvaddr) @@ -48,5 +47,4 @@ void __kunmap_atomic(void *kvaddr) pagefault_enable(); preempt_enable(); } - EXPORT_SYMBOL(__kunmap_atomic);