Thread (1 message) 1 message, 1 author, 2010-09-02

Re: [PATCH] atlx: make version strings const (trivial)

From: Chris Snook <chris.snook@gmail.com>
Date: 2010-09-02 22:24:32

On Thu, Sep 2, 2010 at 5:34 PM, Stephen Hemminger [off-list ref] wrote:
quoted hunk
Signed-off-by: Stephen Hemminger <redacted>
--- a/drivers/net/atlx/atl2.c   2010-09-02 10:51:39.529679405 -0700
+++ b/drivers/net/atlx/atl2.c   2010-09-02 10:52:23.904667707 -0700
@@ -51,10 +51,10 @@
 #define ATL2_DRV_VERSION "2.2.3"

-static char atl2_driver_name[] = "atl2";
+static const char atl2_driver_name[] = "atl2";
 static const char atl2_driver_string[] = "Atheros(R) L2 Ethernet Driver";
-static char atl2_copyright[] = "Copyright (c) 2007 Atheros Corporation.";
-static char atl2_driver_version[] = ATL2_DRV_VERSION;
+static const char atl2_copyright[] = "Copyright (c) 2007 Atheros Corporation.";
+static const char atl2_driver_version[] = ATL2_DRV_VERSION;

 MODULE_AUTHOR("Atheros Corporation [off-list ref], Chris Snook [off-list ref]");
 MODULE_DESCRIPTION("Atheros Fast Ethernet Network Driver");
Acked-by: Chris Snook <chris.snook@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help