From: Dan Carpenter <dan.carpenter@oracle.com>
To: kernel-janitors@vger.kernel.org
Subject: re: driver-core: implement 'sysdev' functionality for regular
Date: Fri, 16 Dec 2011 12:48:33 +0000 [thread overview]
Message-ID: <20111216124833.GA9100@elgon.mountain> (raw)
Hello Kay Sievers,
This is a semi-automatic email about new static checker warnings.
The patch ca22e56debc5: "driver-core: implement 'sysdev'
functionality for regular devices and buses" from Dec 14, 2011, leads
to the following Smatch complaint:
drivers/base/bus.c +1200 subsys_interface_unregister()
warn: variable dereferenced before check 'sif' (see line 1196)
drivers/base/bus.c
1195 {
1196 struct bus_type *subsys = sif->subsys;
^^^^^^^^^^^
New dereference.
1197 struct subsys_dev_iter iter;
1198 struct device *dev;
1199
1200 if (!sif)
^^^^
New check.
1201 return;
1202
regards,
dan carpenter
reply other threads:[~2011-12-16 12:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20111216124833.GA9100@elgon.mountain \
--to=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.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