diff options
-rw-r--r-- | drivers/acpi/utilities/utdebug.c | 2 | ||||
-rw-r--r-- | drivers/acpi/utilities/utmisc.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/utilities/utdebug.c b/drivers/acpi/utilities/utdebug.c index 2d6a78fb01cf..80144427bb41 100644 --- a/drivers/acpi/utilities/utdebug.c +++ b/drivers/acpi/utilities/utdebug.c | |||
@@ -201,6 +201,7 @@ acpi_ut_debug_print(u32 requested_debug_level, | |||
201 | 201 | ||
202 | va_start(args, format); | 202 | va_start(args, format); |
203 | acpi_os_vprintf(format, args); | 203 | acpi_os_vprintf(format, args); |
204 | va_end(args); | ||
204 | } | 205 | } |
205 | 206 | ||
206 | ACPI_EXPORT_SYMBOL(acpi_ut_debug_print) | 207 | ACPI_EXPORT_SYMBOL(acpi_ut_debug_print) |
@@ -238,6 +239,7 @@ acpi_ut_debug_print_raw(u32 requested_debug_level, | |||
238 | 239 | ||
239 | va_start(args, format); | 240 | va_start(args, format); |
240 | acpi_os_vprintf(format, args); | 241 | acpi_os_vprintf(format, args); |
242 | va_end(args); | ||
241 | } | 243 | } |
242 | 244 | ||
243 | ACPI_EXPORT_SYMBOL(acpi_ut_debug_print_raw) | 245 | ACPI_EXPORT_SYMBOL(acpi_ut_debug_print_raw) |
diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c index 2d19f71e9cfa..2f48fd663f5c 100644 --- a/drivers/acpi/utilities/utmisc.c +++ b/drivers/acpi/utilities/utmisc.c | |||
@@ -1033,6 +1033,7 @@ acpi_ut_error(char *module_name, u32 line_number, char *format, ...) | |||
1033 | va_start(args, format); | 1033 | va_start(args, format); |
1034 | acpi_os_vprintf(format, args); | 1034 | acpi_os_vprintf(format, args); |
1035 | acpi_os_printf(" [%X]\n", ACPI_CA_VERSION); | 1035 | acpi_os_printf(" [%X]\n", ACPI_CA_VERSION); |
1036 | va_end(args); | ||
1036 | } | 1037 | } |
1037 | 1038 | ||
1038 | void ACPI_INTERNAL_VAR_XFACE | 1039 | void ACPI_INTERNAL_VAR_XFACE |
@@ -1061,6 +1062,8 @@ acpi_ut_warning(char *module_name, u32 line_number, char *format, ...) | |||
1061 | va_start(args, format); | 1062 | va_start(args, format); |
1062 | acpi_os_vprintf(format, args); | 1063 | acpi_os_vprintf(format, args); |
1063 | acpi_os_printf(" [%X]\n", ACPI_CA_VERSION); | 1064 | acpi_os_printf(" [%X]\n", ACPI_CA_VERSION); |
1065 | va_end(args); | ||
1066 | va_end(args); | ||
1064 | } | 1067 | } |
1065 | 1068 | ||
1066 | void ACPI_INTERNAL_VAR_XFACE | 1069 | void ACPI_INTERNAL_VAR_XFACE |
@@ -1077,4 +1080,5 @@ acpi_ut_info(char *module_name, u32 line_number, char *format, ...) | |||
1077 | va_start(args, format); | 1080 | va_start(args, format); |
1078 | acpi_os_vprintf(format, args); | 1081 | acpi_os_vprintf(format, args); |
1079 | acpi_os_printf("\n"); | 1082 | acpi_os_printf("\n"); |
1083 | va_end(args); | ||
1080 | } | 1084 | } |