From: Naranjo Manuel Francisco Date: Wed, 15 Nov 2006 18:14:27 +0000 (-0300) Subject: USB: fix aircable.c: inconsequent NULL checking X-Git-Tag: v2.6.20-rc1~34^2~40^2~472^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5c7b42d3c7b1e0085d48414ee73003d3888d1f;p=pandora-kernel.git USB: fix aircable.c: inconsequent NULL checking > 2006/11/11, Adrian Bunk : > > 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed