Re: [PATCH 6/9] ns16550: Guard accesses to `vuart` field by CONFIG_ARM

2023-08-08 Thread Jan Beulich
On 03.08.2023 01:03, Shawn Anastasio wrote: > When CONFIG_ARM is defined, a `vuart` field is added to struct ns16550, > but accesses to this field in ns16550_uart_dt_init weren't correctly > guarded. Fix build on !ARM platforms that define CONFIG_HAS_DEVICE_TREE > by correctly guarding access to th

[PATCH 6/9] ns16550: Guard accesses to `vuart` field by CONFIG_ARM

2023-08-02 Thread Shawn Anastasio
When CONFIG_ARM is defined, a `vuart` field is added to struct ns16550, but accesses to this field in ns16550_uart_dt_init weren't correctly guarded. Fix build on !ARM platforms that define CONFIG_HAS_DEVICE_TREE by correctly guarding access to the vuart field in this function. Signed-off-by: Shaw