lkml.org 
[lkml]   [2005]   [Jan]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 5 Jan 2005 14:24:48 +0800
FromCoywolf Qi Hunt <>
SubjectRe: PROBLEM: 2.6.10 oops on startup
On Wed, 05 Jan 2005 04:36:18 +0000, Paul Bain <prbain@essex.ac.uk> wrote:
> On Tue, 2005-01-04 at 18:46, Randy.Dunlap wrote:
> > Have you tested any 2.6.10-bk# versions to see if this has been
> > fixed by recent patches?
> > If not, please try that and let us know, then I'll look at it
> > more if needed.
> > Thanks,
> > ~Randy
> 
> Hi, thanks for the response. I tried it with 2.6.10-bk7 and it crashed
> with
> 

This is a quick fix. Please try the attached patch.


 coywolf




-- 
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/
diff -Nrup linux-2.6.10/drivers/acpi/executer/exconfig.c linux-2.6.10-cy/drivers/acpi/executer/exconfig.c
--- linux-2.6.10/drivers/acpi/executer/exconfig.c	2004-10-19 05:54:32.000000000 +0800
+++ linux-2.6.10-cy/drivers/acpi/executer/exconfig.c	2005-01-05 14:19:18.000000000 +0800
@@ -368,7 +368,7 @@ acpi_ex_load_op (
 		 */
 		status = acpi_ex_read_data_from_field (walk_state, obj_desc, &buffer_desc);
 		if (ACPI_FAILURE (status)) {
-			goto cleanup;
+			return_ACPI_STATUS (status);
 		}
 
 		table_ptr = ACPI_CAST_PTR (struct acpi_table_header, buffer_desc->buffer.pointer);
\
 
 \ /
  Last update: 2005-03-22 14:09    [from the cache]
©2003-2008