Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934139AbbFXDDo (ORCPT ); Tue, 23 Jun 2015 23:03:44 -0400 Received: from mga01.intel.com ([192.55.52.88]:7552 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934035AbbFXDDN (ORCPT ); Tue, 23 Jun 2015 23:03:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,669,1427785200"; d="scan'208";a="749291540" From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org, Bob Moore Subject: [PATCH v2 06/28] ACPICA: Hardware: Cleanup the return values in acpi_set_waking_vector(). Date: Wed, 24 Jun 2015 11:03:06 +0800 Message-Id: X-Mailer: git-send-email 1.7.10 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 33 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 Signed-off-by: Bob Moore --- 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/