From: Panagiotis Issaris Date: Tue, 15 Aug 2006 23:01:07 +0000 (-0700) Subject: [PPP]: handle kmalloc failures and convert to using kzalloc X-Git-Tag: v2.6.18-rc5~76^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4274b51a5c8147b5341e15927368e75b632d297;p=pandora-kernel.git [PPP]: handle kmalloc failures and convert to using kzalloc The PPP code contains two kmalloc()s followed by memset()s without handling a possible memory allocation failure. (Suggested by Joe Perches). And furthermore, conversions from kmalloc+memset to kzalloc. [akpm@osdl.org: fix error-path leak] [akpm@osdl.org: cleanups] [paulus@samba.org: don't add useless printk and cardmap_destroy calls] Signed-off-by: Panagiotis Issaris Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras Signed-off-by: David S. Miller --- Reading git-diff-tree failed