From eedd8d7ee8536adb42ddc7a91c9aea4a08a7b6f4 Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Tue, 8 Jul 2014 17:02:42 +0300 Subject: [PATCH] staging: ft1000-usb: check for errors in card_send_command kmalloc() result check was lacking. Fixing that required also changing card_send_command() return type from void to int, and checking its return code everywhere. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=78561 Reported-by: Maksymilian Arciemowicz Signed-off-by: Andrey Utkin Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed