From: Adrian Bunk <bunk@stusta.de>
To: Michal CIJOML Semler <cijoml@volny.cz>,
Markus Rechberger <markus.rechberger@amd.com>,
Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-kernel@vger.kernel.org, v4l-dvb-maintainer@linuxtv.org
Subject: drivers/media/dvb/dvb-core/dvb_net.c: check-after-use
Date: Fri, 15 Jun 2007 23:00:31 +0200 [thread overview]
Message-ID: <20070615210031.GK3588@stusta.de> (raw)
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 -ENODEV;
...
<-- snip -->
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next reply other threads:[~2007-06-15 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 21:00 Adrian Bunk [this message]
2007-06-15 23:58 ` [v4l-dvb-maintainer] drivers/media/dvb/dvb-core/dvb_net.c: check-after-use Trent Piepho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070615210031.GK3588@stusta.de \
--to=bunk@stusta.de \
--cc=cijoml@volny.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=markus.rechberger@amd.com \
--cc=mchehab@infradead.org \
--cc=v4l-dvb-maintainer@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox