http://bugzilla.kernel.org/show_bug.cgi?id=7689
------- Additional Comments From [EMAIL PROTECTED] 2006-12-19 07:16 -------
Alexey Starikovskiy wrote:
Lebedev, Vladimir P wrote:
> Alexey,
...
> Please look in "My kernel log" attachment: there are ERROR messages
> here:
> Is it criminal?
>
> Dec 18 18:52:10 coreblack [ 35.963000] ACPI Exception (exoparg2-0442):
> AE_AML_BUFFER_LIMIT, Index (000000100) is beyond end of object
> [20060707]
> Dec 18 18:52:10 coreblack [ 35.964000] ACPI Error (psparse-0537):
> Method parse/execution failed [\_SB_.C002.C341.C0F3._SDD] (Node
> df790540), AE_AML_BUFFER_LIMIT
From: Fiodor Suietov <[EMAIL PROTECTED]>
Subject: libata: wrong sizeof for BUFFER
I have reproduced the AE_AML_BUFFER_LIMIT exception
basing on the SSDT ASL code and libata ata_acpi_push_id()
code. There is the oversight in ata_acpi_push_id() causing
the exception. The following update fixes it:
Signed-off-by: Fiodor Suietov <[EMAIL PROTECTED]>
---
--- linux-2.6.20-rc1-mm1/drivers/ata/libata-acpi.c.orig 2006-12-19
11:51:19.809222900 +0300
+++ linux-2.6.20-rc1-mm1/drivers/ata/libata-acpi.c 2006-12-19
17:36:05.128443900 +0300
@@ -672,7 +672,7 @@ int ata_acpi_push_id(struct ata_port *ap
input.count = 1;
input.pointer = in_params;
in_params[0].type = ACPI_TYPE_BUFFER;
- in_params[0].buffer.length = sizeof(atadev->id[0] * ATA_ID_WORDS);
+ in_params[0].buffer.length = sizeof(atadev->id[0]) * ATA_ID_WORDS;
in_params[0].buffer.pointer = (u8 *)atadev->id;
/* Output buffer: _SDD has no output */
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla