Staging: echo: fix kmalloc()/kfree() uses
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 17 Oct 2008 17:55:03 +0000 (20:55 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 16:56:34 +0000 (09:56 -0700)
This patch removes the malloc()/free() macro wrappers and converts
call-sites to use kcalloc() and kzalloc() where appropriate. I also
fixed up out-of-memory error handling in couple of places where it was
broken.

Cc: David Rowe <david@rowetel.com>
Cc: Steve Underwood <steveu@coppice.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found