From d2c6ca0bbac67380f05e22ca8b46555917162a43 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 23 Jul 2016 22:36:31 +1000 Subject: [PATCH] revert-mm-mempool-only-set-__gfp_nomemalloc-if-there-are-free-elements-checkpatch-fixes ERROR: "foo * bar" should be "foo *bar" #90: FILE: mm/mempool.c:311: +void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) total: 5 errors, 0 warnings, 52 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/revert-mm-mempool-only-set-__gfp_nomemalloc-if-there-are-free-elements.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: Michal Hocko Signed-off-by: Andrew Morton --- mm/mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mempool.c b/mm/mempool.c index 5ba6c8b3b81434..47a659dedd4440 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@ -308,7 +308,7 @@ EXPORT_SYMBOL(mempool_resize); * fail if called from an IRQ context.) * Note: using __GFP_ZERO is not supported. */ -void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) +void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) { void *element; unsigned long flags;