]> git.karo-electronics.de Git - karo-tx-linux.git/commit
param: fix NULL comparison on oom
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Oct 2009 14:56:17 +0000 (08:56 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:18 +0000 (16:22 -0800)
commita8381266f673b5597f11fb9bad9ae196e9915f87
tree4dc4a7324501ff8ad65d68c269c78b422742aff7
parent9f00eee2ffab59cb85ecf1de54282c7fb4669565
param: fix NULL comparison on oom

commit d553ad864e3b3dde3f1038d491e207021b2d6293 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/params.c