commit | db2af149bd0c798ce599365ee4320dd30dda852c | [log] [tgz] |
---|---|---|
author | Pekka Enberg <penberg@cs.helsinki.fi> | Fri Oct 17 20:55:03 2008 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Oct 22 09:56:34 2008 -0700 |
tree | ff327d79bdc026ca42d4f02edae4a35df8676db0 | |
parent | f55ccbf6bc5e5e857b15f51d481aa7b1cd993ae0 [diff] |
Staging: echo: fix kmalloc()/kfree() uses 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>