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:
parent
936440560b
commit
cbc9be948a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user