]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 2 Jun 2021 03:52:59 +0000 (13:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 Jun 2021 03:52:59 +0000 (13:52 +1000)
Cc: Chen Li <chenli@uniontech.com>
WARNING: please, no spaces at the start of a line
#37: FILE: mm/nommu.c:226:
+       return __vmalloc(size, GFP_KERNEL);$

total: 0 errors, 1 warnings, 16 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/nommu-remove-__gfp_highmem-in-vmalloc-vzalloc.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: Chen Li <chenli@uniontech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/nommu.c

index 5137b3aea4bdd884a9e7048eb9b4bcf5867698a9..0997ca38c2bdb3504c61a6c7905757cea239ec8c 100644 (file)
@@ -223,7 +223,7 @@ long vread(char *buf, char *addr, unsigned long count)
  */
 void *vmalloc(unsigned long size)
 {
-       return __vmalloc(size, GFP_KERNEL);
+       return __vmalloc(size, GFP_KERNEL);
 }
 EXPORT_SYMBOL(vmalloc);