From: Robert Baldyga Date: Fri, 27 Sep 2013 10:28:54 +0000 (+0200) Subject: usb: gadget: f_fs: fix error handling X-Git-Tag: v3.12-rc4~6^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8854894c040cd68b463dccf267308250b336df40;p=pandora-kernel.git usb: gadget: f_fs: fix error handling This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() function call for high speed descriptors. Without this check it's possible that the module will try dereference incorrect pointer. [ balbi@ti.com : removed trailing empty line ] Acked-by: Michal Nazarewicz Signed-off-by: Robert Baldyga Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed