From: Bob Moore Date: Tue, 29 Oct 2013 01:29:16 +0000 (+0800) Subject: ACPICA: Fix a macro for the hardware-reduced case X-Git-Tag: v3.13-rc1~96^2~9^2~30 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c26f3c908091294e5909f5459b6682e10922c824;p=~emulex%2Finfiniband.git ACPICA: Fix a macro for the hardware-reduced case This fix repairs a version of a macro that is used for the hardware reduced case only. It adds a return statement to the macro definition so that the translation into the Linux kernel source will not completely delete the second line of the macro because it thinks that it is an empty block. It actually clarifies the use of the macro anyway. Reported-by: Lv Zheng Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Rafael J. Wysocki --- diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index c7b1475422b..ebab0d89c70 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h @@ -106,7 +106,7 @@ extern u8 acpi_gbl_disable_ssdt_table_load; static ACPI_INLINE prototype {return(AE_OK);} #define ACPI_HW_DEPENDENT_RETURN_VOID(prototype) \ - static ACPI_INLINE prototype {} + static ACPI_INLINE prototype {return;} #endif /* !ACPI_REDUCED_HARDWARE */