aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei/erst-dbg.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-11-14 14:46:51 -0800
committerTejun Heo <tj@kernel.org>2019-11-14 14:46:51 -0800
commitd7495343228f30d8206e92dccfd1c41adcfa142d (patch)
tree0e4aa6672470c7b17555c04d19f7d6bded19c512 /drivers/acpi/apei/erst-dbg.c
parentcgroup: use cgrp->kn->id as the cgroup ID (diff)
downloadlinux-dev-d7495343228f30d8206e92dccfd1c41adcfa142d.tar.xz
linux-dev-d7495343228f30d8206e92dccfd1c41adcfa142d.zip
cgroup: fix incorrect WARN_ON_ONCE() in cgroup_setup_root()
743210386c03 ("cgroup: use cgrp->kn->id as the cgroup ID") added WARN which triggers if cgroup_id(root_cgrp) is not 1. This is fine on 64bit ino archs but on 32bit archs cgroup ID is ((gen << 32) | ino) and gen starts at 1, so the root id is 0x1_0000_0001 instead of 1 always triggering the WARN. What we wanna make sure is that the ino part is 1. Fix it. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Fixes: 743210386c03 ("cgroup: use cgrp->kn->id as the cgroup ID") Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/acpi/apei/erst-dbg.c')
0 files changed, 0 insertions, 0 deletions