diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2010-12-11 05:53:32 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-12-24 21:28:18 -0800 |
commit | f0f1a172b2a9e26319b9aa95fa6c322ebb01089d (patch) | |
tree | b4d37fada398b2c91706317d992e01aa6be72931 /drivers/net/e1000e/netdev.c | |
parent | 68f20d948c86bd6bbc075052f6b6c45b8f56957e (diff) | |
download | op-kernel-dev-f0f1a172b2a9e26319b9aa95fa6c322ebb01089d.zip op-kernel-dev-f0f1a172b2a9e26319b9aa95fa6c322ebb01089d.tar.gz |
e1000e: checkpatch error - macro panethesis
ERROR: Macros with complex values should be enclosed in parenthesis
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index a45dafd..ec7b77f 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c @@ -1325,7 +1325,7 @@ static bool e1000_clean_jumbo_rx_irq(struct e1000_adapter *adapter, goto next_desc; } -#define rxtop rx_ring->rx_skb_top +#define rxtop (rx_ring->rx_skb_top) if (!(status & E1000_RXD_STAT_EOP)) { /* this descriptor is only the beginning (or middle) */ if (!rxtop) { |