diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2010-10-21 14:05:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:52:32 -0400 |
commit | 0561cf3dbff1f37c0d374fb1b824ef3a117c85e0 (patch) | |
tree | 9eda3569c17a1b20867d3a930ae4f03f479c000b /drivers | |
parent | 81e8e5601fba4ea5bc3bfbed0fec074cf65feca5 (diff) |
vmxnet3: fix typo setting confPA
It's a le64, not a le32, typo in one place only.
Noticed by sparse:
drivers/net/vmxnet3/vmxnet3_drv.c:2668:52: warning: incorrect type in assignment (different base types)
drivers/net/vmxnet3/vmxnet3_drv.c:2668:52: expected restricted __le64 [usertype] confPA
drivers/net/vmxnet3/vmxnet3_drv.c:2668:52: got restricted __le32 [usertype] <noident>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index 2ea4b818a07c..e3658e10db39 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c | |||
@@ -2665,7 +2665,7 @@ vmxnet3_resume(struct device *device) | |||
2665 | adapter->shared->devRead.pmConfDesc.confVer = cpu_to_le32(1); | 2665 | adapter->shared->devRead.pmConfDesc.confVer = cpu_to_le32(1); |
2666 | adapter->shared->devRead.pmConfDesc.confLen = cpu_to_le32(sizeof( | 2666 | adapter->shared->devRead.pmConfDesc.confLen = cpu_to_le32(sizeof( |
2667 | *pmConf)); | 2667 | *pmConf)); |
2668 | adapter->shared->devRead.pmConfDesc.confPA = cpu_to_le32(virt_to_phys( | 2668 | adapter->shared->devRead.pmConfDesc.confPA = cpu_to_le64(virt_to_phys( |
2669 | pmConf)); | 2669 | pmConf)); |
2670 | 2670 | ||
2671 | netif_device_attach(netdev); | 2671 | netif_device_attach(netdev); |