From: Shuah Khan Date: Tue, 25 Mar 2014 12:47:13 +0000 (-0600) Subject: staging/usbip: fix store_attach() sscanf return value check X-Git-Tag: omap-for-v3.16/soc-signed~45^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4734bc651d19ed71ad30222aac9b1416e1bd52;p=pandora-kernel.git staging/usbip: fix store_attach() sscanf return value check sscanf() parses the input buffer for four input items. However, the return value check is incorrect, as it checks for one input item instead of four which is what it is expecting in the input buffer. As a result, sscanf() will always fail even when the input buffer is correct. Signed-off-by: Shuah Khan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed