aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorPeter Hüwe <PeterHuewe@gmx.de>2013-01-02 23:23:50 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-04 18:11:32 -0500
commit579e1d816260d9f66cb63e4c2911794c9970c293 (patch)
tree198ab917988784c91fa3ef0ef710ab0ae7426419 /drivers/net/ethernet/broadcom
parentb2d4b150278a5b9fbd3322a764d7b488be975a8d (diff)
ethernet/broadcom/tg3: Fix sparse warning: constant 0x7fffffffffffffff is so big it is long long
Sparse complains that: drivers/net/ethernet/broadcom/tg3.c:5670:55: sparse: constant 0x7fffffffffffffff is so big it is long long (on x86/32 bit) so we suffix the constant with LL in the header file. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
index d330e81f5793..247d954f3308 100644
--- a/drivers/net/ethernet/broadcom/tg3.h
+++ b/drivers/net/ethernet/broadcom/tg3.h
@@ -774,7 +774,7 @@
774#define SG_DIG_AUTONEG_ERROR 0x00000001 774#define SG_DIG_AUTONEG_ERROR 0x00000001
775#define TG3_TX_TSTAMP_LSB 0x000005c0 775#define TG3_TX_TSTAMP_LSB 0x000005c0
776#define TG3_TX_TSTAMP_MSB 0x000005c4 776#define TG3_TX_TSTAMP_MSB 0x000005c4
777#define TG3_TSTAMP_MASK 0x7fffffffffffffff 777#define TG3_TSTAMP_MASK 0x7fffffffffffffffLL
778/* 0x5c8 --> 0x600 unused */ 778/* 0x5c8 --> 0x600 unused */
779#define MAC_TX_MAC_STATE_BASE 0x00000600 /* 16 bytes */ 779#define MAC_TX_MAC_STATE_BASE 0x00000600 /* 16 bytes */
780#define MAC_RX_MAC_STATE_BASE 0x00000610 /* 20 bytes */ 780#define MAC_RX_MAC_STATE_BASE 0x00000610 /* 20 bytes */