diff options
author | Tejun Heo <[email protected]> | 2022-08-28 17:54:15 -1000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2022-08-28 17:54:15 -1000 |
commit | c0f2df49cf2471289d5aabf16f50ac26eb268f7d (patch) | |
tree | 142d8ac5bf610ebf8381d0d0f81f65dd9bede4dc /tools/perf/scripts/python/task-analyzer.py | |
parent | 075b593f54f0f3883532cb750081cae6917bc8fe (diff) |
cgroup: Fix build failure when CONFIG_SHRINKER_DEBUG
fa7e439cf90b ("cgroup: Homogenize cgroup_get_from_id() return value") broken
build when CONFIG_SHRINKER_DEBUG by trying to return an errno from
mem_cgroup_get_from_ino() which returns struct mem_cgroup *. Fix by using
ERR_CAST() instead.
Signed-off-by: Tejun Heo <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Cc: Michal Koutný <[email protected]>f
Fixes: fa7e439cf90b ("cgroup: Homogenize cgroup_get_from_id() return value")
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions