diff options
author | wzt wzt <wzt.wzt@gmail.com> | 2010-03-25 21:12:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-27 16:33:20 +0100 |
commit | c0e4d4bad4e8cf0aa787a3045392f949d76b5886 (patch) | |
tree | 2ceec212108be8c543f34b80d5afb3cb14390201 /drivers | |
parent | net: Add MSG_WAITFORONE flag to recvmmsg (diff) | |
download | linux-c0e4d4bad4e8cf0aa787a3045392f949d76b5886.tar.xz linux-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, |