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)
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>

No differences found