Staging: usbip: Fix the warning of unchecked sscanf return value.
authorElena Oat <oat.elena@gmail.com>
Thu, 27 Feb 2014 10:26:52 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 23:12:11 +0000 (15:12 -0800)
commitf8cfc0230909077d2e378c829ffeb7bdf71a890e
tree95098ed685dcd3e4cdeb255dde2c34e9c4cb9f3b
parentfdffa6f2b3a2385ecfc6516259e4c99d6feb7139
Staging: usbip: Fix the warning of unchecked sscanf return value.

The return value of sscanf in stub_dev.c is not checked. This patch
adds the checking of the return value.

Signed-off-by: Elena Oat <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_dev.c