From: Dan Carpenter Date: Wed, 25 Apr 2012 08:47:02 +0000 (+0300) Subject: Extcon: check for allocation failure X-Git-Tag: v3.5-rc1~147^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1d26ac0ddc4ea561e17a75dd3b5f9d3c1812f16;p=pandora-kernel.git Extcon: check for allocation failure Return -ENOMEM if the kmalloc() fails. Signed-off-by: Dan Carpenter Acked-by: MyungJoo Ham Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed