[Lguest] [PATCH] use cpu capabilities macros

Rusty Russell rusty at rustcorp.com.au
Tue Jul 22 10:53:24 EST 2008


On Tuesday 22 July 2008 06:58:29 Matias Zabaljauregui wrote:
> Hello Rusty,
>
>            I'm getting these warning messages while building lguest
> (2.6.26):
>
>   CC [M]  drivers/lguest/x86/core.o
> drivers/lguest/x86/core.c: In function 'lguest_arch_host_init':
> drivers/lguest/x86/core.c:483: warning: passing argument 2 of
> 'clear_bit' from incompatible pointer type
> drivers/lguest/x86/core.c: In function 'lguest_arch_host_fini':
> drivers/lguest/x86/core.c:494: warning: passing argument 2 of
> 'set_bit' from incompatible pointer type
>
>
> The macros set_cpu_cap and clear_cpu_cap  use the right casting:

Hi Mattias,

    An equivalent patch is pending in my queue already.

But thanks for the reminder!
Rusty.



More information about the Lguest mailing list