net: pci200syn: add necessary () to macro argument

Macro argument 'card' may be better as '(card)' to
avoid precedence issues.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Peng Li 2021-06-15 21:54:22 +08:00 committed by David S. Miller
parent 2b63744668
commit 8e7680c102

View File

@ -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)