lkml.org 
[lkml]   [2008]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Oops in ACPI with git latest
From
Date
On Thu, 2008-10-23 at 15:34 -0700, Moore, Robert wrote:
> + if (!output.pointer)
> + return AE_NULL_OBJECT;
> +
>
> This probably won't work. acpi_evaluate_object currently doesn't touch the pointer parameter if there is no return value, it only sets the length to zero.

Actually, it does.

> So, you might try this:
>
> + if (!output.length)
> + return AE_NULL_OBJECT;
> +

This also works.

James




\
 
 \ /
  Last update: 2008-10-24 03:29    [W:0.264 / U:0.064 seconds]
©2003-2011 Jasper Spaans. Advertise on this site