]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: p9auth: use kzalloc
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 25 Feb 2009 04:31:39 +0000 (20:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:24 +0000 (14:54 -0700)
commit3685708a5339e169332bfa6ae417af412d7359d5
tree59fa634c16446dd895c1dc9aa4272317454b6d24
parentbde024ea24dfbdfcd33d3507cb071be088edffc3
Staging: p9auth: use kzalloc

It's nicer than doing kmalloc/memset.

Also check the return value of all allocations, one was previously not
being checked properly.

Cc: Ashwin Ganti <ashwin.ganti@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/p9auth/p9auth.c