Skip to content

Commit 9b5aa5b

Browse files
akpm00sfrothwell
authored andcommitted
arch-kmap_atomic-consolidate-duplicate-code-checkpatch-fixes
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable torvalds#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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]>
1 parent 60f96b2 commit 9b5aa5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/nds32/mm/highmem.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ void *kmap_atomic_high(struct page *page)
3131
__nds32__isb();
3232
return (void *)vaddr;
3333
}
34-
3534
EXPORT_SYMBOL(kmap_atomic_high);
3635

3736
void __kunmap_atomic(void *kvaddr)
@@ -48,5 +47,4 @@ void __kunmap_atomic(void *kvaddr)
4847
pagefault_enable();
4948
preempt_enable();
5049
}
51-
5250
EXPORT_SYMBOL(__kunmap_atomic);

0 commit comments

Comments
 (0)