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.121 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site