]> git.neil.brown.name Git - history.git/commitdiff
USB storage
authorGreg Kroah-Hartman <greg@kroah.com>
Sat, 11 May 2002 15:04:21 +0000 (08:04 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Sat, 11 May 2002 15:04:21 +0000 (08:04 -0700)
fixed typo in variable name.

drivers/usb/storage/shuttle_usbat.c

index c027bf15e0bbe4ca53272700eb9a29c461dfd2a5..c93ccf62dbc2044d56874db5eeed0e4db0cce7ce 100644 (file)
@@ -743,7 +743,7 @@ int usbat_handle_read10(struct us_data *us,
                                if (len - amount >= 
                                          sg[sg_segment].length-sg_offset) {
                                  memcpy(page_address(sg[sg_segment].page) +
-                                        sg[sg_sgement].offset + sg_offset,
+                                        sg[sg_segment].offset + sg_offset,
                                         buffer + amount,
                                         sg[sg_segment].length - sg_offset);
                                  amount +=