linux/drivers/usb/serial
Naranjo Manuel Francisco 7a5c7b42d3 USB: fix aircable.c: inconsequent NULL checking
> 2006/11/11, Adrian Bunk <bunk@stusta.de>:
> > The Coverity checker spotted the following in
> > drivers/usb/serial/aircable.c:
> >
> > <--  snip  -->
> >
> > ...
> > static void aircable_read(void *params)
> > {
> > ...


Hi everyone,
Sorry for the long time response but here is the patch, I think this way should
work, if anyone has any suggestion let me know. What I do now is, in case I
don't have the tty available I reschedule the work, I have tried it and it
works with no problem, I even tried removing the device, and didn't find
anything strange.

Signed-off-by: Naranjo Manuel <naranjo.manuel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-01 14:23:35 -08:00
..
aircable.c USB: fix aircable.c: inconsequent NULL checking 2006-12-01 14:23:35 -08:00
airprime.c USB: airprime: New device ID 2006-12-01 14:23:30 -08:00
ark3116.c USB: ark3116: Formatting cleanups 2006-09-27 11:58:49 -07:00
belkin_sa.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
belkin_sa.h
bus.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
ChangeLog.history
console.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
cp2101.c USB: new VID/PID-combos for cp2101 2006-11-03 11:57:18 -08:00
cyberjack.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cypress_m8.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cypress_m8.h
digi_acceleport.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
empeg.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ezusb_convert.pl
ezusb.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ftdi_sio.c usb: ftdi_sio kill urb cleanup 2006-12-01 14:23:34 -08:00
ftdi_sio.h USB: ftdi driver pid for dmx-interfaces 2006-11-16 14:26:11 -08:00
funsoft.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
garmin_gps.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
generic.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hp4x.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
io_16654.h
io_edgeport.c usb: io_edgeport kill urb cleanup 2006-12-01 14:23:34 -08:00
io_edgeport.h
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h
io_ti.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
io_ti.h
io_usbvend.h
ipaq.c USB: ipaq: Add HTC Modem Support 2006-11-16 14:26:12 -08:00
ipaq.h
ipw.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ir-usb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Kconfig USB: HID: add blacklist AIRcable USB, little beautification 2006-11-03 11:57:18 -08:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa90msg.h
keyspan.c usb: keyspan free urb cleanup 2006-12-01 14:23:34 -08:00
keyspan.h
kl5kusb105.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
kl5kusb105.h
kobil_sct.c usb: kobil_sct kill urb cleanup 2006-12-01 14:23:34 -08:00
kobil_sct.h
Makefile USB: add USB serial mos7720 driver 2006-10-17 14:46:32 -07:00
Makefile-keyspan_pda_fw
mct_u232.c usb: mct_u232 free urb cleanup 2006-12-01 14:23:34 -08:00
mct_u232.h
mos7720.c USB: add USB serial mos7720 driver 2006-10-17 14:46:32 -07:00
mos7840.c USB: mos7840.c: fix a check-after-dereference 2006-10-17 14:46:33 -07:00
navman.c usb: navman kill urb cleanup 2006-12-01 14:23:35 -08:00
omninet.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
option.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pl2303.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pl2303.h USB: Add vendor / product ID to pl2303 2006-09-28 15:36:42 -07:00
safe_serial.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sierra.c USB: sierra: Fix id for Sierra Wireless MC8755 in new table 2006-11-03 11:57:18 -08:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c usb-serial: ti_usb, TI ez430 development tool ID 2006-12-01 14:23:30 -08:00
ti_usb_3410_5052.h usb-serial: ti_usb, TI ez430 development tool ID 2006-12-01 14:23:30 -08:00
usb-serial.c usb: usb-serial free urb cleanup 2006-12-01 14:23:35 -08:00
visor.c usb: visor kill urb cleanup 2006-12-01 14:23:35 -08:00
visor.h
whiteheat_fw.h
whiteheat.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S