[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH] ns16550: remove partial explicit initializer
On 2023-12-06 10:01, Jan Beulich wrote: On 05.12.2023 17:31, Nicola Vetrini wrote:--- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -73,7 +73,7 @@ static struct ns16550 {With the variable even being static, ...bool msi;const struct ns16550_config_param *param; /* Points into .init.*! */#endif -} ns16550_com[2] = { { 0 } }; +} ns16550_com[2] = { };... what use is the initializer in the first place? Jan I understood it as a visual cue that the array was initialized, as it was before. I don't have a specific preference one way or another, but I see this has already been committed. -- Nicola Vetrini, BSc Software Engineer, BUGSENG srl (https://bugseng.com)
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |