From: Roel Kluin Date: Sat, 22 Aug 2009 17:32:44 +0000 (+0200) Subject: Staging: rspiusb: Check usb_buffer_map_sg() retval X-Git-Tag: v2.6.32-rc1~668^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c8276d7ac534d62c594c9a493130ff9137675d;p=pandora-kernel.git Staging: rspiusb: Check usb_buffer_map_sg() retval usb_buffer_map_sg() may return -1, check this directly. Signed-off-by: Roel Kluin Reviewed-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed