All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] drivers:net:ethernet:3com:3c512: array char instead of char pointer
@ 2017-04-22  0:17 Karim Eshapa
  0 siblings, 0 replies; only message in thread
From: Karim Eshapa @ 2017-04-22  0:17 UTC (permalink / raw)
  To: davem
  Cc: jarod, felipe.balbi, a, fw, tglx, netdev, linux-kernel, Karim Eshapa

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

Signed-off-by: Karim Eshapa <karim.eshapa@gmail.com>
---
 drivers/net/ethernet/3com/3c515.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/3com/3c515.c b/drivers/net/ethernet/3com/3c515.c
index e7b1fa5..29b8ddd 100644
--- a/drivers/net/ethernet/3com/3c515.c
+++ b/drivers/net/ethernet/3com/3c515.c
@@ -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 " becker@scyld.com and others\n";
 
 #define CORKSCREW 1
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-22  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-22  0:17 [PATCH 2/2] drivers:net:ethernet:3com:3c512: array char instead of char pointer Karim Eshapa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.