Skip to content
Commit 5479c78a authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Tejun Heo
Browse files

mm, percpu: Make sure percpu_alloc early parameter has an argument



Otherwise we are getting a nil dereference if percpu_alloc kernel boot
argument is specified without value.

 | [    0.000000] BUG: unable to handle kernel NULL pointer dereference at           (null)
 | [    0.000000] IP: [<ffffffff81391360>] strcmp+0x10/0x30

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent b4916cb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment