Skip to content

Commit

Permalink
account-certain-kmem-allocations-to-memcg-checkpatch-fixes
Browse files Browse the repository at this point in the history
CHECK: spaces preferred around that '|' (ctx:VxV)
torvalds#130: FILE: drivers/staging/lustre/lustre/llite/super25.c:109:
+					    0, SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT,
 					                         ^

ERROR: code indent should use tabs where possible
torvalds#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 <vdavydov@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and hnaz committed Dec 9, 2015
1 parent f4919e6 commit 9603cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/gfs2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9603cf6

Please sign in to comment.