From fb366da9043cab8552edddb678e4354ff3382ba3 Mon Sep 17 00:00:00 2001 From: Andrew Morton <akpm@linux-foundation.org> Date: Fri, 14 May 2021 10:39:53 +1000 Subject: [PATCH] nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/nommu.c b/mm/nommu.c index 5137b3aea4bdd..0997ca38c2bdb 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -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);