mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue