commit | 48c8276d7ac534d62c594c9a493130ff9137675d | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Sat Aug 22 19:32:44 2009 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 15 12:02:29 2009 -0700 |
tree | f7634439718ce421401e2160bf98b7093b1a5138 | |
parent | 77943d31b7dfdbd1ad58d49bd16ae6e7601bcd6c [diff] |
Staging: rspiusb: Check usb_buffer_map_sg() retval usb_buffer_map_sg() may return -1, check this directly. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Reviewed-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>