From b37ec2e8a7dba1fb70153c9ec39400cb2623f726 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 8 Apr 2015 09:44:04 +1000 Subject: [PATCH] mm-cma-release-trigger-checkpatch-fixes ERROR: code indent should use tabs where possible #76: FILE: mm/cma_debug.c:88: + int pages = val;$ WARNING: please, no spaces at the start of a line #76: FILE: mm/cma_debug.c:88: + int pages = val;$ ERROR: code indent should use tabs where possible #79: FILE: mm/cma_debug.c:91: + return cma_free_mem(cma, pages);$ WARNING: please, no spaces at the start of a line #79: FILE: mm/cma_debug.c:91: + return cma_free_mem(cma, pages);$ total: 2 errors, 2 warnings, 69 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/mm-cma-release-trigger.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Sasha Levin Signed-off-by: Andrew Morton --- mm/cma_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/cma_debug.c b/mm/cma_debug.c index 4d147664550113..6513fc648e04c5 100644 --- a/mm/cma_debug.c +++ b/mm/cma_debug.c @@ -85,10 +85,10 @@ static int cma_free_mem(struct cma *cma, int count) static int cma_free_write(void *data, u64 val) { - int pages = val; + int pages = val; struct cma *cma = data; - return cma_free_mem(cma, pages); + return cma_free_mem(cma, pages); } DEFINE_SIMPLE_ATTRIBUTE(cma_free_fops, NULL, cma_free_write, "%llu\n");