Skip to contentSkip to conversation

drivers:net:ethernet:3com:3c512: array char instead of char pointer

PATCH New Karim Eshapa 1 participant 1 message Apr 22, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 drivers:net:ethernet:3com:3c512: array char instead of char pointer

char pointer creates two variables static string and pointer to it according to Jeff Garzik janitors TODO

---
 drivers/net/ethernet/3com/3c515.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/3com/3c515.c +1 -1
index e7b1fa5..29b8ddd 100644
@@ -26,7 +26,7 @@
 #define DRV_VERSION		"0.99t-ac"
 #define DRV_RELDATE		"28-Oct-2002"
 
-static char *version =
+static char version[] =
 DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " [email protected] and others\n";
 
 #define CORKSCREW 1
Signature · 1 line
2.7.4