Skip to content

Commit 1f7151f

Browse files
akpm00hnaz
authored andcommitted
mm-memcontrolc-introduce-helper-mem_cgroup_zoneinfo_zone-checkpatch-fixes
WARNING: please, no spaces at the start of a line torvalds#29: FILE: mm/memcontrol.c:689: + int nid = zone_to_nid(zone);$ WARNING: please, no spaces at the start of a line torvalds#30: FILE: mm/memcontrol.c:690: + int zid = zone_idx(zone);$ WARNING: please, no spaces at the start of a line torvalds#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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent d1608f0 commit 1f7151f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mm/memcontrol.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,10 +686,10 @@ mem_cgroup_zoneinfo(struct mem_cgroup *memcg, int nid, int zid)
686686
static struct mem_cgroup_per_zone *
687687
mem_cgroup_zoneinfo_zone(struct mem_cgroup *memcg, struct zone *zone)
688688
{
689-
int nid = zone_to_nid(zone);
690-
int zid = zone_idx(zone);
689+
int nid = zone_to_nid(zone);
690+
int zid = zone_idx(zone);
691691

692-
return mem_cgroup_zoneinfo(memcg, nid, zid);
692+
return mem_cgroup_zoneinfo(memcg, nid, zid);
693693
}
694694

695695
struct cgroup_subsys_state *mem_cgroup_css(struct mem_cgroup *memcg)

0 commit comments

Comments
 (0)