linux/drivers/usb/serial
Alan Stern 0282b7f2a8 usb-serial: don't release unregistered minors
This patch (as1121) fixes a bug in the USB serial core.  When a device
is unregistered, the core will give back its minors -- even if the
device hasn't been assigned any!

The patch reserves the highest minor value (255) to mean that no minor
was assigned.  It also removes some dead code and does a small style
fixup.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-08-13 17:32:50 -07:00
..
aircable.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ark3116.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
belkin_sa.c belkin_sa: clean up code 2008-07-22 13:03:22 -07:00
belkin_sa.h belkin_sa: clean up code 2008-07-22 13:03:22 -07:00
bus.c usb-serial-bus: tidy coding style 2008-07-22 13:03:22 -07:00
ch341.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ChangeLog.history Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
console.c tty-usb-console: Fix termios 2008-07-22 13:03:23 -07:00
cp2101.c cp2101: coding style 2008-07-22 13:03:23 -07:00
cyberjack.c cyberjack: Coding style 2008-07-22 13:03:23 -07:00
cypress_m8.c usb-cypress: There is no 0 case to go with CS5/6/7/8 so remove the test 2008-07-22 13:03:23 -07:00
cypress_m8.h cypress_m8: coding style 2008-07-22 13:03:23 -07:00
digi_acceleport.c digi_acceleport: coding style 2008-07-22 13:03:23 -07:00
empeg.c empeg: Coding style 2008-07-22 13:03:23 -07:00
ezusb_convert.pl
ezusb.c whiteheat: coding style 2008-07-22 13:03:22 -07:00
ftdi_sio.c USB: ftdi_sio: add support for Luminance Stellaris Evaluation/Development Kits 2008-08-13 17:32:48 -07:00
ftdi_sio.h USB: ftdi_sio: add support for Luminance Stellaris Evaluation/Development Kits 2008-08-13 17:32:48 -07:00
funsoft.c funsoft: Switch to linux/uaccess 2008-07-22 13:03:23 -07:00
garmin_gps.c garmin_gps: Coding style 2008-07-22 13:03:23 -07:00
generic.c tty-usb-generic: Code cleanup 2008-07-22 13:03:24 -07:00
hp4x.c tty-usb-hp4x: Fix overlong line 2008-07-22 13:03:24 -07:00
io_16654.h
io_edgeport.c io_edgeport: Fix various bogus returns to the tty layer 2008-07-22 13:03:27 -07:00
io_edgeport.h USB: io_edgeport: Convert to generic boolean 2007-04-27 13:28:36 -07:00
io_ionsp.h
io_tables.h tty-usb-io_edgeport: Coding style 2008-07-22 13:03:27 -07:00
io_ti.c io_ti: Minor coding style 2008-07-22 13:03:24 -07:00
io_ti.h
io_usbvend.h USB: io_ti: Digi EdgePort update for new devices 2007-07-12 16:29:48 -07:00
ipaq.c fix for a memory leak in an error case introduced by fix for double free 2008-07-26 20:40:09 -07:00
ipaq.h
ipw.c tty-usb-ipw: Coding style 2008-07-22 13:03:24 -07:00
ir-usb.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
iuu_phoenix.c tty-usb-iuu-phoenix: Clean up to coding style 2008-07-22 13:03:24 -07:00
iuu_phoenix.h USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
Kconfig USB: delete airprime driver 2008-07-21 15:16:31 -07:00
keyspan_pda.c keyspan_pda: Use string flip functions 2008-07-22 13:03:25 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h USB Serial Keyspan: add support for USA-49WG & USA-28XG 2007-07-12 16:29:45 -07:00
keyspan_usa90msg.h
keyspan.c keyspan: Use string flip functions when possible 2008-07-22 13:03:24 -07:00
keyspan.h usb_serial: API all change 2008-07-22 13:03:22 -07:00
kl5kusb105.c tty-usb-kl5kusb105: Coding style 2008-07-22 13:03:25 -07:00
kl5kusb105.h
kobil_sct.c kobil_sct: Fix ioctls 2008-07-22 13:03:25 -07:00
kobil_sct.h
Makefile USB: delete airprime driver 2008-07-21 15:16:31 -07:00
Makefile-keyspan_pda_fw
mct_u232.c mct_u232: Use flip buffer functions 2008-07-22 13:03:26 -07:00
mct_u232.h USB: mct232: speed, new termios and compliance cleanups 2008-02-01 14:34:56 -08:00
mos7720.c tty-usb-mos7720: Coding style 2008-07-22 13:03:27 -07:00
mos7840.c mos7840: remove loads of bogus assignments to status 2008-07-22 13:03:26 -07:00
moto_modem.c USB: add new moto_modem driver for some Morotola phones 2008-05-14 10:00:25 -07:00
navman.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
omninet.c omninet: Use string flip functions 2008-07-22 13:03:26 -07:00
option.c tty-usb-option: Coding style 2008-07-22 13:03:26 -07:00
oti6858.c tty-usb-oti6858: Coding style 2008-07-22 13:03:26 -07:00
oti6858.h USB: oti6858 usb-serial driver (in Nokia CA-42 cable) 2007-07-12 16:29:47 -07:00
pl2303.c tty-usb-pl2303: Coding style 2008-07-22 13:03:26 -07:00
pl2303.h USB: add a pl2303 device id 2008-07-03 18:20:38 -07:00
safe_serial.c tty-usb-safe-serial: Coding style 2008-07-22 13:03:26 -07:00
sierra.c tty-usb-sierra: Coding style - minor 2008-07-22 13:03:26 -07:00
spcp8x5.c tty-usb-spcp8x5: Minor coding style 2008-07-22 13:03:26 -07:00
ti_usb_3410_5052.c tty-usb-ti-usb: Coding style 2008-07-22 13:03:26 -07:00
ti_usb_3410_5052.h
usb_debug.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
usb-serial.c usb-serial: don't release unregistered minors 2008-08-13 17:32:50 -07:00
visor.c tty-usb-visor: Coding style 2008-07-22 13:03:24 -07:00
visor.h USB: visor add ACER S10 palm device id 2007-08-22 14:27:43 -07:00
whiteheat.c cp2101: coding style 2008-07-22 13:03:23 -07:00
whiteheat.h whiteheat: coding style 2008-07-22 13:03:22 -07:00