Re: [patch] acpi compile fix

J Sloan (joe@tmsusa.com)
Thu, 03 Apr 2003 22:48:52 -0800


Andrew Morton wrote:

>ACPI is performing a spin_lock() on a `void *'. That's OK when spin_lock is
>implemented via an inline function. But when it is implemented via macros
>(eg, with spinlock debugging enabled) we get:
>
>drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
>drivers/acpi/osl.c:739: request for member `owner' in something not a structure or union
>
>So cast it to the right type.
>

Yep 2.5.66 is happy with my config now
and is running nicely - thanks for the fix!

Joe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/