mos7720 update
commitfe4b65ec9127a336eeaa503f878062d9e6f44591
authorOliver Neukum <oneukum@suse.de>
Wed, 14 Mar 2007 14:22:25 +0000 (14 15:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:35 +0000 (27 13:28 -0700)
tree93083a02fd33b2e24f85cd622bd41dac3cb66116
parent7378c57a8d4cf36e2f2b389d96d0d85043bd1c17
mos7720 update

this driver has an interesting way of handling ENOMEM: complain and ignore.
If you decide to live with allocation failures, you must

1. guard against URBs without corresponding buffers
2. complete allocation failures
3. always test entries for NULL before you follow the pointers

This patch does so.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c