summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-04-23 08:27:21 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-04-23 08:27:21 +1000
commitab35508ee2db02b33643529c8b06ef8bc8d0b84d (patch)
treed2a1316becfe7515fc7a91065cdc45efc41ccd7f /mm
parentd1bb310cfdd8efcb5ac44f1fc1ef7aae3c0b0536 (diff)
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 <nasa4836@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index a1130ad8e63b..efc233f8b529 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)