From: Axel Lin Date: Tue, 20 Jul 2010 22:19:51 +0000 (-0700) Subject: hp-wmi: add return value checking for input_allocate_device() X-Git-Tag: v2.6.36-rc1~579^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc28596a8fe5034ef776b0be2e0bf5629a31f746;p=pandora-kernel.git hp-wmi: add return value checking for input_allocate_device() Add error checking and return -ENOMEM if input_allocate_device() fail. Signed-off-by: Axel Lin Acked-by: Thomas Renninger Cc: Matthew Garrett Signed-off-by: Andrew Morton Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed