param: fix NULL comparison on oom
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Oct 2009 14:56:17 +0000 (08:56 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 28 Oct 2009 22:26:18 +0000 (08:26 +1030)
commitd553ad864e3b3dde3f1038d491e207021b2d6293
tree2a6d4e482e72daf6056e1fb984407754e019f15a
parent65afac7d80ab3bc9f81e75eafb71eeb92a3ebdef
param: fix NULL comparison on oom

kp->arg is always true: it's the contents of that pointer we care about.

Reported-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
kernel/params.c