diff options
author | wzt wzt <wzt.wzt@gmail.com> | 2010-03-25 20:12:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-27 08:33:20 -0700 |
commit | c0e4d4bad4e8cf0aa787a3045392f949d76b5886 (patch) | |
tree | 2ceec212108be8c543f34b80d5afb3cb14390201 /drivers | |
parent | 71c5c1595c04852d6fbf3c4882b47b30b61a4d32 (diff) | |
download | linux-stable-c0e4d4bad4e8cf0aa787a3045392f949d76b5886.tar.gz linux-stable-c0e4d4bad4e8cf0aa787a3045392f949d76b5886.tar.bz2 linux-stable-c0e4d4bad4e8cf0aa787a3045392f949d76b5886.zip |
benet: Fix compile warnnings in drivers/net/benet/be_ethtool.c
Fix the following warnings:
be_ethtool.c:493: warning: integer constant is too large for 'long' type
be_ethtool.c:493: warning: integer constant is too large for 'long' type
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Acked-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/benet/be_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_ethtool.c b/drivers/net/benet/be_ethtool.c index 9560d48944ab..51e1065e7897 100644 --- a/drivers/net/benet/be_ethtool.c +++ b/drivers/net/benet/be_ethtool.c @@ -490,7 +490,7 @@ be_test_ddr_dma(struct be_adapter *adapter) { int ret, i; struct be_dma_mem ddrdma_cmd; - u64 pattern[2] = {0x5a5a5a5a5a5a5a5a, 0xa5a5a5a5a5a5a5a5}; + u64 pattern[2] = {0x5a5a5a5a5a5a5a5aULL, 0xa5a5a5a5a5a5a5a5ULL}; ddrdma_cmd.size = sizeof(struct be_cmd_req_ddrdma_test); ddrdma_cmd.va = pci_alloc_consistent(adapter->pdev, ddrdma_cmd.size, |