From: Len Brown <len.brown@intel.com>
Date: Fri, 20 Jan 2006 06:17:42 +0000 (-0500)
Subject: [ACPI] delete message "**** SET: Misaligned resource pointer:"
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c5c363826e435cf4d54d917202567e5b57cae5f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git

[ACPI] delete message "**** SET: Misaligned resource pointer:"

This check, added in ACPICA 20051021, was overly paranoid.

Signed-off-by: Len Brown <len.brown@intel.com>
---

diff --git a/drivers/acpi/resources/rsmisc.c b/drivers/acpi/resources/rsmisc.c
index e1b5aa2af9a5..4a758bd4a5c8 100644
--- a/drivers/acpi/resources/rsmisc.c
+++ b/drivers/acpi/resources/rsmisc.c
@@ -328,14 +328,6 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
 
 	ACPI_FUNCTION_TRACE("rs_convert_resource_to_aml");
 
-	/* Validate the Resource pointer, must be 32-bit aligned */
-
-	if (((acpi_native_uint) resource) & 0x3) {
-		acpi_os_printf
-		    ("**** SET: Misaligned resource pointer: %p Type %2.2X Len %X\n",
-		     resource, resource->type, resource->length);
-	}
-
 	/*
 	 * First table entry must be ACPI_RSC_INITxxx and must contain the
 	 * table length (# of table entries)