mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
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:
parent
2b63744668
commit
8e7680c102
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user