From: Devendra Naga Date: Tue, 19 Jun 2012 12:45:25 +0000 (+0530) Subject: staging/ft1000: Return -ENOMEM if kmalloc fails at ft1000_probe X-Git-Tag: v3.6-rc1~100^2~663 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10c0b92caf97e0d7f1d76996f73bf07a719aa3e;p=pandora-kernel.git staging/ft1000: Return -ENOMEM if kmalloc fails at ft1000_probe If the kmalloc fails return -ENOMEM , returning 0 is not the proper way if any function fails Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed