Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1628699
| From | Karim Eshapa <karim.eshapa@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] drivers:net:ethernet:3com:3c512: array char instead of char pointer |
| Date | 2017-04-22 02:20 +0200 |
| Message-ID | <tyQWl-45g-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 2/2] drivers:net:ethernet:3com:3c512: array char instead of char pointer Karim Eshapa <karim.eshapa@gmail.com> - 2017-04-22 02:20 +0200
csiph-web