From: Alexey Khoroshilov Date: Fri, 15 Mar 2013 21:30:32 +0000 (+0400) Subject: usb: cdc-acm: fix error handling in acm_probe() X-Git-Tag: v3.9-rc4~11^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c93d81955005c2ac0ea072f88d376026208410e1;p=pandora-kernel.git usb: cdc-acm: fix error handling in acm_probe() acm_probe() ignores errors in tty_port_register_device() and leaves intfdata pointing to freed memory on alloc_fail7 error path. The patch fixes the both issues. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed