[PATCH] USB Storage: more sddr09 cleanups
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Mon, 5 Dec 2005 05:59:45 +0000 (21:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:42 +0000 (13:51 -0800)
commita6c976c6c4628ce0c9277c47e7545956d9d4f441
tree0c0f531595dac6b340c85af500cfb1dae7122bea
parent0dc08a357538de3d93305fbf99348663abdbf2cd
[PATCH] USB Storage: more sddr09 cleanups

This is the third of three patches to prepare the sddr09 subdriver for
conversion to the Sim-SCSI framework.  This patch (as596) moves the
computation of the LBA to the start of the read/write routines, so that
addresses completely beyond the end of the device can be detected and
reported differently from transfers that are partially within the
device's capacity.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Andries Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/sddr09.c