From 2f5d91fd2b689bac0b3dad8ae815f5bb9d8a05eb Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 9 Dec 2015 16:30:37 +1100 Subject: [PATCH] account-certain-kmem-allocations-to-memcg-checkpatch-fixes CHECK: spaces preferred around that '|' (ctx:VxV) #130: FILE: drivers/staging/lustre/lustre/llite/super25.c:109: + 0, SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT, ^ ERROR: code indent should use tabs where possible #456: FILE: fs/gfs2/main.c:115: +^I^I^I^I^I SLAB_MEM_SPREAD|$ CHECK: spaces preferred around that '|' (ctx:VxV) #1012: FILE: net/sunrpc/rpc_pipe.c:1503: + SLAB_MEM_SPREAD|SLAB_ACCOUNT), ^ total: 1 errors, 0 warnings, 2 checks, 640 lines checked NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/account-certain-kmem-allocations-to-memcg.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: Vladimir Davydov Signed-off-by: Andrew Morton --- fs/gfs2/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c index 8004df55952783..787d2bc8ca7e8e 100644 --- a/fs/gfs2/main.c +++ b/fs/gfs2/main.c @@ -112,7 +112,7 @@ static int __init init_gfs2_fs(void) gfs2_inode_cachep = kmem_cache_create("gfs2_inode", sizeof(struct gfs2_inode), 0, SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD| + SLAB_MEM_SPREAD| SLAB_ACCOUNT, gfs2_init_inode_once); if (!gfs2_inode_cachep)