Skip to content

Commit

Permalink
arch-kmap_atomic-consolidate-duplicate-code-checkpatch-fixes
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
akpm00 authored and sfrothwell committed May 14, 2020
1 parent a027249 commit a11f09c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/nds32/mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -48,5 +47,4 @@ void __kunmap_atomic(void *kvaddr)
pagefault_enable();
preempt_enable();
}

EXPORT_SYMBOL(__kunmap_atomic);

0 comments on commit a11f09c

Please sign in to comment.