Skip to content

Commit b37ec2e

Browse files
akpm00sfrothwell
authored andcommitted
mm-cma-release-trigger-checkpatch-fixes
ERROR: code indent should use tabs where possible torvalds#76: FILE: mm/cma_debug.c:88: + int pages = val;$ WARNING: please, no spaces at the start of a line torvalds#76: FILE: mm/cma_debug.c:88: + int pages = val;$ ERROR: code indent should use tabs where possible torvalds#79: FILE: mm/cma_debug.c:91: + return cma_free_mem(cma, pages);$ WARNING: please, no spaces at the start of a line torvalds#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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 1c166e0 commit b37ec2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: mm/cma_debug.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ static int cma_free_mem(struct cma *cma, int count)
8585

8686
static int cma_free_write(void *data, u64 val)
8787
{
88-
int pages = val;
88+
int pages = val;
8989
struct cma *cma = data;
9090

91-
return cma_free_mem(cma, pages);
91+
return cma_free_mem(cma, pages);
9292
}
9393

9494
DEFINE_SIMPLE_ATTRIBUTE(cma_free_fops, NULL, cma_free_write, "%llu\n");

0 commit comments

Comments
 (0)