commit | eedd8d7ee8536adb42ddc7a91c9aea4a08a7b6f4 | [log] [tgz] |
---|---|---|
author | Andrey Utkin <andrey.krieger.utkin@gmail.com> | Tue Jul 08 17:02:42 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 09 12:18:21 2014 -0700 |
tree | 9c3d309da66fe0467e24fe32027e8a854ea6130b | |
parent | 85f28332e3de1eeb7c902fd2763cf79012ccf26b [diff] |
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 <max@cert.cx> Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>