From 8c1416a52cf2cab1778a7e8475a80a0e5425c477 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 24 Apr 2014 21:04:07 +0000 Subject: [PATCH] mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone-checkpatch-fixes WARNING: please, no spaces at the start of a line #29: FILE: mm/memcontrol.c:689: + int nid = zone_to_nid(zone);$ WARNING: please, no spaces at the start of a line #30: FILE: mm/memcontrol.c:690: + int zid = zone_idx(zone);$ WARNING: please, no spaces at the start of a line #32: FILE: mm/memcontrol.c:692: + return mem_cgroup_zoneinfo(memcg, nid, zid);$ total: 0 errors, 3 warnings, 35 lines checked ./patches/mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone.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: Jianyu Zhan Signed-off-by: Andrew Morton --- mm/memcontrol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index a1130ad8e63bc3..efc233f8b52903 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -686,10 +686,10 @@ mem_cgroup_zoneinfo(struct mem_cgroup *memcg, int nid, int zid) static struct mem_cgroup_per_zone * mem_cgroup_zoneinfo_zone(struct mem_cgroup *memcg, struct zone *zone) { - int nid = zone_to_nid(zone); - int zid = zone_idx(zone); + int nid = zone_to_nid(zone); + int zid = zone_idx(zone); - return mem_cgroup_zoneinfo(memcg, nid, zid); + return mem_cgroup_zoneinfo(memcg, nid, zid); } struct cgroup_subsys_state *mem_cgroup_css(struct mem_cgroup *memcg)