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

Re: [Xen-devel] misplaced const





On 12/23/2013 09:42 AM, Jan Beulich wrote:
<tsahee@xxxxxxx> 12/22/13 3:52 PM >>>
--- a/xen/drivers/char/ns16550.c
+++ b/xen/drivers/char/ns16550.c
@@ -817,6 +817,7 @@ static int __init ns16550_uart_dt_init(struct 
dt_device_node *dev,
static const char const *ns16550_dt_compat[] __initconst =

This being ARM specific code, could someone please submit a patch to prevent
problems going forward with the duplicate const here (the second one really
belongs _after_ the *)?

Hi Jan,

Thanks for spotting the error. I noticed that every serial drivers which support Device Tree are affected by the duplicated const.

I have sent a patch on the ML: https://patches.linaro.org/22744/

Cheers,

--
Julien Grall

_______________________________________________
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®.