[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <89E2752CFA8EC044846EB8499819134102BE8EEF9E@EXCH-MBX-4.vmware.com>
Date: Mon, 13 Sep 2010 13:07:06 -0700
From: Shreyas Bhatewara <sbhatewara@...are.com>
To: Joe Perches <joe@...ches.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "VMware, Inc." <pv-drivers@...are.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH 14/25] drivers/net/vnxnet3: Use static const char arrays
Thanks Joe.
Acked-by: Shreyas Bhatewara <sbhatewara@...are.com>
> -----Original Message-----
> From: Joe Perches [mailto:joe@...ches.com]
> Sent: Monday, September 13, 2010 12:48 PM
> To: linux-kernel@...r.kernel.org
> Cc: Shreyas Bhatewara; VMware, Inc.; netdev@...r.kernel.org
> Subject: [PATCH 14/25] drivers/net/vnxnet3: Use static const char
> arrays
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
> drivers/net/vmxnet3/vmxnet3_drv.c | 2 +-
> drivers/net/vmxnet3/vmxnet3_int.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c
> b/drivers/net/vmxnet3/vmxnet3_drv.c
> index 198ce92..dfc0014 100644
> --- a/drivers/net/vmxnet3/vmxnet3_drv.c
> +++ b/drivers/net/vmxnet3/vmxnet3_drv.c
> @@ -28,7 +28,7 @@
>
> #include "vmxnet3_int.h"
>
> -char vmxnet3_driver_name[] = "vmxnet3";
> +const char vmxnet3_driver_name[] = "vmxnet3";
> #define VMXNET3_DRIVER_DESC "VMware vmxnet3 virtual NIC driver"
>
> /*
> diff --git a/drivers/net/vmxnet3/vmxnet3_int.h
> b/drivers/net/vmxnet3/vmxnet3_int.h
> index 2121c73..201fcf7 100644
> --- a/drivers/net/vmxnet3/vmxnet3_int.h
> +++ b/drivers/net/vmxnet3/vmxnet3_int.h
> @@ -384,5 +384,5 @@ vmxnet3_create_queues(struct vmxnet3_adapter
> *adapter,
> extern void vmxnet3_set_ethtool_ops(struct net_device *netdev);
> extern struct net_device_stats *vmxnet3_get_stats(struct net_device
> *netdev);
>
> -extern char vmxnet3_driver_name[];
> +extern const char vmxnet3_driver_name[];
> #endif
> --
> 1.7.3.rc1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists