]> git.neil.brown.name Git - history.git/commit
[PATCH] USB storage: add error checks, remove useless code
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Mon, 16 Sep 2002 03:31:51 +0000 (20:31 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 16 Sep 2002 03:31:51 +0000 (20:31 -0700)
commitbcee5ba09f8695e05f2767c0ce18644782e0fd18
treeec419c5a5dd24d1ac8d78bf1a3be0579fb7befd2
parentb2bc6be639d7e2ef247dfc2f03fbcd6f5964f458
[PATCH] USB storage: add error checks, remove useless code

This patch removes attempts to clear halts on a control endpoint (think
about it for a minute if you don't see why this is pointless....) and also
adds return-code checks for all places where halts are cleared.

This _should_ be just redundant code, but recent tests suggest that this
is, in fact, not the case.  People should _heavily_ test this patch.  I'm
going to pause here for a while (in the patch stream) until we've got this
sorted out -- initial results on my test setup seem to show some problems
still remain.  Where those problems are (HCD or usb-storage) remains to be
seen.
drivers/usb/storage/isd200.c
drivers/usb/storage/raw_bulk.c
drivers/usb/storage/shuttle_usbat.c
drivers/usb/storage/transport.c
drivers/usb/storage/usb.c