Re: [v4l-dvb-maintainer] drivers/media/dvb/dvb-core/dvb_net.c: check-after-use

2007-06-15 Thread Trent Piepho
On Fri, 15 Jun 2007, Adrian Bunk wrote: > The Coverity checker spotted the following obvious check-after-use in > drivers/media/dvb/dvb-core/dvb_net.c: I spotted it before the patch was even applied: http://www.linuxtv.org/pipermail/v4l-dvb-maintainer/2007-April/003917.html If only coverity would

drivers/media/dvb/dvb-core/dvb_net.c: check-after-use

2007-06-15 Thread Adrian Bunk
The Coverity checker spotted the following obvious check-after-use in drivers/media/dvb/dvb-core/dvb_net.c: <-- snip --> ... static int dvb_net_close(struct inode *inode, struct file *file) { ... struct dvb_net *dvbnet = dvbdev->priv; if (!dvbdev) return -ENODE