]> err.no Git - linux-2.6/commit
USB: fix aircable.c: inconsequent NULL checking
authorNaranjo Manuel Francisco <naranjo.manuel@gmail.com>
Wed, 15 Nov 2006 18:14:27 +0000 (15:14 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:35 +0000 (14:23 -0800)
commit7a5c7b42d3c7b1e0085d48414ee73003d3888d1f
treeac23aa6a0c81e9e79b5788e81ac6c9f84cc5d17b
parent1b7be3c066ae9238996a7a861b39b0bfd5860735
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>
drivers/usb/serial/aircable.c