hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/acpi/acpica/acutils.h
....@@ -3,7 +3,7 @@
33 *
44 * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -142,10 +142,11 @@
142142
143143 /* acpi_ut_dump_buffer */
144144
145
-#define DB_BYTE_DISPLAY 1
146
-#define DB_WORD_DISPLAY 2
147
-#define DB_DWORD_DISPLAY 4
148
-#define DB_QWORD_DISPLAY 8
145
+#define DB_BYTE_DISPLAY 0x01
146
+#define DB_WORD_DISPLAY 0x02
147
+#define DB_DWORD_DISPLAY 0x04
148
+#define DB_QWORD_DISPLAY 0x08
149
+#define DB_DISPLAY_DATA_ONLY 0x10
149150
150151 /*
151152 * utascii - ASCII utilities
....@@ -686,22 +687,26 @@
686687 /*
687688 * utxferror - various error/warning output functions
688689 */
690
+ACPI_PRINTF_LIKE(5)
689691 void ACPI_INTERNAL_VAR_XFACE
690692 acpi_ut_predefined_warning(const char *module_name,
691693 u32 line_number,
692694 char *pathname,
693
- u8 node_flags, const char *format, ...);
695
+ u16 node_flags, const char *format, ...);
694696
697
+ACPI_PRINTF_LIKE(5)
695698 void ACPI_INTERNAL_VAR_XFACE
696699 acpi_ut_predefined_info(const char *module_name,
697700 u32 line_number,
698
- char *pathname, u8 node_flags, const char *format, ...);
701
+ char *pathname,
702
+ u16 node_flags, const char *format, ...);
699703
704
+ACPI_PRINTF_LIKE(5)
700705 void ACPI_INTERNAL_VAR_XFACE
701706 acpi_ut_predefined_bios_error(const char *module_name,
702707 u32 line_number,
703708 char *pathname,
704
- u8 node_flags, const char *format, ...);
709
+ u16 node_flags, const char *format, ...);
705710
706711 void
707712 acpi_ut_prefixed_namespace_error(const char *module_name,