[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3] xen/keyhandler: Rework keyhandler infrastructure



>>> On 24.09.15 at 14:09, <andrew.cooper3@xxxxxxxxxx> wrote:
> This appears to work for me.

Looks okay with ...

> --- a/xen/common/keyhandler.c
> +++ b/xen/common/keyhandler.c
> @@ -43,10 +43,10 @@
>  } key_table[128] __read_mostly =
>  {
>  #define KEYHANDLER(k, f, desc, diag)            \
> -    [k] = { .fn = (f), desc, 0, diag }
> +    [k] = { { f }, desc, 0, diag }
>  
>  #define IRQ_KEYHANDLER(k, f, desc, diag)        \
> -    [k] = { .irq_fn = (f), desc, 1, diag }
> +    [k] = { { (keyhandler_fn_t*)f }, desc, 1, diag }

... parenthesizes added around f and a blank put ahead of the *
here.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.