Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1625964 authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: fix cgroup_css() invocation in css_from_id()



ca8bdcaf ("cgroup: make cgroup_css() take cgroup_subsys * instead
and allow NULL subsys") missed one conversion in css_from_id(), which
was newly added.  As css_from_id() doesn't have any user yet, this
doesn't break anything other than generating a build warning.

Convert it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
parent 7c918cbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5729,7 +5729,7 @@ struct cgroup_subsys_state *css_from_id(int id, struct cgroup_subsys *ss)

	cgrp = idr_find(&ss->root->cgroup_idr, id);
	if (cgrp)
		return cgroup_css(cgrp, ss->subsys_id);
		return cgroup_css(cgrp, ss);
	return NULL;
}