From: Johan Hovold Date: Thu, 12 Jan 2017 13:56:22 +0000 (+0100) Subject: USB: serial: ssu100: fix control-message error handling X-Git-Tag: v3.2.89~87 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=480810392ec9de0e3303c681f30d41cc0e08d985;p=pandora-kernel.git USB: serial: ssu100: fix control-message error handling commit 1eac5c244f705182d1552a53e2f74e2775ed95d6 upstream. Make sure to detect short control-message transfers rather than continue with zero-initialised data when retrieving modem status and during device initialisation. Fixes: 52af95459939 ("USB: add USB serial ssu100 driver") Reviewed-by: Greg Kroah-Hartman Signed-off-by: Johan Hovold [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed