Messages in this thread | | | Subject | RE: Oops in ACPI with git latest | From | James Bottomley <> | Date | Thu, 23 Oct 2008 20:27:22 -0500 |
| |
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
| |