Skip to content

Commit d5a1695

Browse files
ISCAS-Vulabtorvalds
authored andcommitted
hugetlb_cgroup: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Fixes: faced7e ("mm: hugetlb controller for cgroups v2") Signed-off-by: Xu Wang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Giuseppe Scrivano <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent 00c54a8 commit d5a1695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/hugetlb_cgroup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx)
655655
snprintf(cft->name, MAX_CFTYPE_NAME, "%s.events", buf);
656656
cft->private = MEMFILE_PRIVATE(idx, 0);
657657
cft->seq_show = hugetlb_events_show;
658-
cft->file_offset = offsetof(struct hugetlb_cgroup, events_file[idx]),
658+
cft->file_offset = offsetof(struct hugetlb_cgroup, events_file[idx]);
659659
cft->flags = CFTYPE_NOT_ON_ROOT;
660660

661661
/* Add the events.local file */
@@ -664,7 +664,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx)
664664
cft->private = MEMFILE_PRIVATE(idx, 0);
665665
cft->seq_show = hugetlb_events_local_show;
666666
cft->file_offset = offsetof(struct hugetlb_cgroup,
667-
events_local_file[idx]),
667+
events_local_file[idx]);
668668
cft->flags = CFTYPE_NOT_ON_ROOT;
669669

670670
/* NULL terminate the last cft */

0 commit comments

Comments
 (0)