]> git.baikalelectronics.ru Git - kernel.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)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 28 Oct 2009 22:26:18 +0000 (08:56 +1030)
commita09b055c1b3649c4ac999d1db13892634a9ef37d
tree2a6d4e482e72daf6056e1fb984407754e019f15a
parentb40a73cc37d03371ba3808c4524cbc481a4d20ba
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