From: Peng Li Date: Tue, 15 Jun 2021 13:54:22 +0000 (+0800) Subject: net: pci200syn: add necessary () to macro argument X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8e7680c10284e75e0b4122e05a6969a53f95c1cb;p=linux.git net: pci200syn: add necessary () to macro argument Macro argument 'card' may be better as '(card)' to avoid precedence issues. Signed-off-by: Peng Li Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c index ac4a599472478..abca13b2792a3 100644 --- a/drivers/net/wan/pci200syn.c +++ b/drivers/net/wan/pci200syn.c @@ -86,7 +86,7 @@ typedef struct card_s { port_t ports[2]; } card_t; -#define get_port(card, port) (&card->ports[port]) +#define get_port(card, port) (&(card)->ports[port]) #define sca_flush(card) (sca_in(IER0, card)) static inline void new_memcpy_toio(char __iomem *dest, char *src, int length)