* re: params: add 3rd arg to option handler callback signature
@ 2012-05-03 8:38 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2012-05-03 8:38 UTC (permalink / raw)
To: jim.cromie; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-03 8:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 8:38 params: add 3rd arg to option handler callback signature Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox