From: Pekka Enberg Date: Fri, 17 Oct 2008 17:55:03 +0000 (+0300) Subject: Staging: echo: fix kmalloc()/kfree() uses X-Git-Tag: v2.6.28-rc1~34^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db2af149bd0c798ce599365ee4320dd30dda852c;p=pandora-kernel.git 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 Cc: Steve Underwood Signed-off-by: Pekka Enberg Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed