projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09950bc
)
kconfig: use va_end to match corresponding va_start
author
Colin Ian King
<colin.king@canonical.com>
Mon, 12 Jan 2015 13:18:26 +0000
(13:18 +0000)
committer
Michal Marek
<mmarek@suse.cz>
Tue, 27 Jan 2015 15:52:43 +0000
(16:52 +0100)
Although on some systems va_end is a no-op, it is good practice
to use va_end, especially since the manual states:
"Each invocation of va_start() must be matched by a corresponding
invocation of va_end() in the same function."
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kconfig/confdata.c
b/scripts/kconfig/confdata.c
index f88d90f20228e8783b5ca39accc436140af7b3ff..28df18dd1147f60b555fea428afe42513b592410 100644
(file)
--- a/
scripts/kconfig/confdata.c
+++ b/
scripts/kconfig/confdata.c
@@
-59,6
+59,7
@@
static void conf_message(const char *fmt, ...)
va_start(ap, fmt);
if (conf_message_callback)
conf_message_callback(fmt, ap);
+ va_end(ap);
}
const char *conf_get_configname(void)