diff mbox

[2/3] vmxnet3: annotate hwaddr members as __iomem pointers

Message ID 1287720334-15469-2-git-send-email-harvey.harrison@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Harvey Harrison Oct. 22, 2010, 4:05 a.m. UTC
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 drivers/net/vmxnet3/vmxnet3_int.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Shreyas Bhatewara Oct. 22, 2010, 5:30 p.m. UTC | #1
Thanks Harvey.

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>

On Thu, 21 Oct 2010, Harvey Harrison wrote:

> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
>  drivers/net/vmxnet3/vmxnet3_int.h |    4 ++--
>  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;
> -- 
> 1.7.1
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller Oct. 24, 2010, 10:43 p.m. UTC | #2
From: Harvey Harrison <harvey.harrison@gmail.com>
Date: Thu, 21 Oct 2010 21:05:33 -0700

> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;