Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1171059 > unrolled thread

[PATCH v2 06/28] ACPICA: Hardware: Cleanup the return values in acpi_set_waking_vector().

Started byLv Zheng <lv.zheng@intel.com>
First post2015-06-24 05:10 +0200
Last post2015-06-24 05:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 06/28] ACPICA: Hardware: Cleanup the return values in acpi_set_waking_vector(). Lv Zheng <lv.zheng@intel.com> - 2015-06-24 05:10 +0200

#1171059 — [PATCH v2 06/28] ACPICA: Hardware: Cleanup the return values in acpi_set_waking_vector().

FromLv Zheng <lv.zheng@intel.com>
Date2015-06-24 05:10 +0200
Subject[PATCH v2 06/28] ACPICA: Hardware: Cleanup the return values in acpi_set_waking_vector().
Message-ID<pEJex-5H5-1@gated-at.bofh.it>
ACPICA commit a04dbfa308a48ab0b2d10519c54a6c533c5c8949

The return statement in acpi_set_waking_vector() is wrong and this patch
corrects it. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/a04dbfa3
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/hwxfsleep.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c
index e273b2e..c25fedb 100644
--- a/drivers/acpi/acpica/hwxfsleep.c
+++ b/drivers/acpi/acpica/hwxfsleep.c
@@ -161,7 +161,7 @@ acpi_set_firmware_waking_vector(acpi_physical_address physical_address,
 	/* If Hardware Reduced flag is set, there is no FACS */
 
 	if (acpi_gbl_reduced_hardware) {
-		return (AE_OK);
+		return_ACPI_STATUS(AE_OK);
 	}
 
 	if (acpi_gbl_facs32) {
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web