Explorar o código

ACPICA: Update ACPI_IS_DEBUG_ENABLED macro.

Add extra parens to allow use of !ACPI_IS_DEBUG_ENABLED.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Bob Moore %!s(int64=12) %!d(string=hai) anos
pai
achega
2744188759
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/acpi/acoutput.h

+ 1 - 1
include/acpi/acoutput.h

@@ -286,7 +286,7 @@
 /* Helper macros for DEBUG_PRINT */
 
 #define ACPI_IS_DEBUG_ENABLED(level, component) \
-	(level & acpi_dbg_level) && (component & acpi_dbg_layer)
+	((level & acpi_dbg_level) && (component & acpi_dbg_layer))
 
 #define ACPI_DEBUG(function, level, line, filename, modulename, component, ...) \
 	if (ACPI_IS_DEBUG_ENABLED (level, component)) \