aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acutils.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-01-17 21:01:07 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-01-17 21:01:07 -0500
commit2a2bafcb3b60f0b5b1cc7b10f21356a8516f192a (patch)
tree589800f95c6c2f5c106fb01414075ac2d5a767eb /drivers/acpi/acpica/acutils.h
parent90fd94e4aba4ddfb6764c051a6bf9a3f4f26fb50 (diff)
parent3bd93bd76ba6b5588a1b2b9f4f451952c7d8994d (diff)
Merge branch 'acpica'
* acpica: (40 commits) ACPICA: Update version to 20171215 ACPICA: trivial style fix, no functional change ACPICA: Fix a couple memory leaks during package object resolution ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings ACPICA: DT compiler: prevent error if optional field at the end of table is not present ACPICA: Rename a global variable, no functional change ACPICA: Create and deploy safe version of strncpy ACPICA: Cleanup the global variables and update comments ACPICA: Debugger: fix slight indentation issue ACPICA: Fix a regression in the acpi_evaluate_object_type() interface ACPICA: Update for a few debug output statements ACPICA: Debug output, no functional change ACPICA: Update information in MAINTAINERS ACPICA: Rename variable to match upstream ACPICA: Update version to 20171110 ACPICA: ACPI 6.2: Additional PPTT flags ACPICA: Update linkage for get mutex name interface ACPICA: Update mutex error messages, no functional change ACPICA: Debugger: add "background" command for method execution ACPICA: Small typo fix, no functional change ...
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r--drivers/acpi/acpica/acutils.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h
index 83b75e9db7ef..b6b29d717824 100644
--- a/drivers/acpi/acpica/acutils.h
+++ b/drivers/acpi/acpica/acutils.h
@@ -118,9 +118,6 @@ extern const char *acpi_gbl_ptyp_decode[];
118#ifndef ACPI_MSG_ERROR 118#ifndef ACPI_MSG_ERROR
119#define ACPI_MSG_ERROR "ACPI Error: " 119#define ACPI_MSG_ERROR "ACPI Error: "
120#endif 120#endif
121#ifndef ACPI_MSG_EXCEPTION
122#define ACPI_MSG_EXCEPTION "ACPI Exception: "
123#endif
124#ifndef ACPI_MSG_WARNING 121#ifndef ACPI_MSG_WARNING
125#define ACPI_MSG_WARNING "ACPI Warning: " 122#define ACPI_MSG_WARNING "ACPI Warning: "
126#endif 123#endif
@@ -129,10 +126,10 @@ extern const char *acpi_gbl_ptyp_decode[];
129#endif 126#endif
130 127
131#ifndef ACPI_MSG_BIOS_ERROR 128#ifndef ACPI_MSG_BIOS_ERROR
132#define ACPI_MSG_BIOS_ERROR "ACPI BIOS Error (bug): " 129#define ACPI_MSG_BIOS_ERROR "Firmware Error (ACPI): "
133#endif 130#endif
134#ifndef ACPI_MSG_BIOS_WARNING 131#ifndef ACPI_MSG_BIOS_WARNING
135#define ACPI_MSG_BIOS_WARNING "ACPI BIOS Warning (bug): " 132#define ACPI_MSG_BIOS_WARNING "Firmware Warning (ACPI): "
136#endif 133#endif
137 134
138/* 135/*
@@ -233,10 +230,10 @@ u64 acpi_ut_implicit_strtoul64(char *string);
233 */ 230 */
234acpi_status acpi_ut_init_globals(void); 231acpi_status acpi_ut_init_globals(void);
235 232
236#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
237
238const char *acpi_ut_get_mutex_name(u32 mutex_id); 233const char *acpi_ut_get_mutex_name(u32 mutex_id);
239 234
235#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
236
240const char *acpi_ut_get_notify_name(u32 notify_value, acpi_object_type type); 237const char *acpi_ut_get_notify_name(u32 notify_value, acpi_object_type type);
241#endif 238#endif
242 239
@@ -641,9 +638,11 @@ void ut_convert_backslashes(char *pathname);
641 638
642void acpi_ut_repair_name(char *name); 639void acpi_ut_repair_name(char *name);
643 640
644#if defined (ACPI_DEBUGGER) || defined (ACPI_APPLICATION) 641#if defined (ACPI_DEBUGGER) || defined (ACPI_APPLICATION) || defined (ACPI_DEBUG_OUTPUT)
645u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source); 642u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source);
646 643
644void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size);
645
647u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source); 646u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source);
648 647
649u8 648u8
@@ -737,9 +736,11 @@ acpi_ut_predefined_bios_error(const char *module_name,
737 u8 node_flags, const char *format, ...); 736 u8 node_flags, const char *format, ...);
738 737
739void 738void
740acpi_ut_namespace_error(const char *module_name, 739acpi_ut_prefixed_namespace_error(const char *module_name,
741 u32 line_number, 740 u32 line_number,
742 const char *internal_name, acpi_status lookup_status); 741 union acpi_generic_state *prefix_scope,
742 const char *internal_name,
743 acpi_status lookup_status);
743 744
744void 745void
745acpi_ut_method_error(const char *module_name, 746acpi_ut_method_error(const char *module_name,