sifive_uart: quiet GCC -Werror=parentheses

Add an additional set of braces to clarify intention. The '&' operator
has a higher precedence than '|', but the reader may not always remember
this. No functional change.
This commit is contained in:
Mitchell Horne 2021-01-08 17:06:11 -04:00
parent 936440560b
commit cbc9be948a

View File

@ -279,7 +279,7 @@ sfuart_bus_flush(struct uart_softc *sc, int what)
if (c) \
i |= ((i) & (s)) ? (s) : (s) | (d); \
else \
i = ((i) & (s)) ? (i) & ~(s) | (d) : (i); \
i = ((i) & (s)) ? ((i) & ~(s)) | (d) : (i); \
} while (0)
static int