summaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2010-10-21 18:05:33 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-24 15:52:32 -0700
commit81e8e5601fba4ea5bc3bfbed0fec074cf65feca5 (patch)
tree819946c5c209f05fa080ec6e3553bfb7fa27fe81 /drivers/net/vmxnet3
parent3843e5154cdcab15fa7405f175e9a1626030792d (diff)
downloadop-kernel-dev-81e8e5601fba4ea5bc3bfbed0fec074cf65feca5.zip
op-kernel-dev-81e8e5601fba4ea5bc3bfbed0fec074cf65feca5.tar.gz
vmxnet3: annotate hwaddr members as __iomem pointers
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/net/vmxnet3')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h
index 46aee6d..8a2f471 100644
--- a/drivers/net/vmxnet3/vmxnet3_int.h
+++ b/drivers/net/vmxnet3/vmxnet3_int.h
@@ -301,8 +301,8 @@ struct vmxnet3_adapter {
struct net_device *netdev;
struct pci_dev *pdev;
- u8 *hw_addr0; /* for BAR 0 */
- u8 *hw_addr1; /* for BAR 1 */
+ u8 __iomem *hw_addr0; /* for BAR 0 */
+ u8 __iomem *hw_addr1; /* for BAR 1 */
/* feature control */
bool rxcsum;
OpenPOWER on IntegriCloud