From: Dan Carpenter <dan.carpenter@oracle.com>
To: jim.cromie@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: re: params: add 3rd arg to option handler callback signature
Date: Thu, 3 May 2012 11:38:17 +0300 [thread overview]
Message-ID: <20120503083809.GA15622@elgon.mountain> (raw)
Hello Jim Cromie,
This is a semi-automatic email about new static checker warnings in
linux-next.
The patch 9fb48c744ba6: "params: add 3rd arg to option handler
callback signature" from Apr 27, 2012, leads to the following Smatch
complaint:
kernel/params.c:196 parse_args()
error: we previously assumed 'args' could be null (see line 193)
kernel/params.c
192
193 if (args && *args)
^^^^
New check.
194 pr_debug("doing %s, parsing ARGS: '%s'\n", doing, args);
195
196 while (*args) {
^^^^^
Old dereference.
197 int ret;
198 int irq_was_disabled;
regards,
dan carpenter
reply other threads:[~2012-05-03 8:38 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=20120503083809.GA15622@elgon.mountain \
--to=dan.carpenter@oracle.com \
--cc=jim.cromie@gmail.com \
--cc=linux-kernel@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