Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1042936AbdDVAR5 (ORCPT ); Fri, 21 Apr 2017 20:17:57 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36796 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1042915AbdDVARy (ORCPT ); Fri, 21 Apr 2017 20:17:54 -0400 From: Karim Eshapa To: davem@davemloft.net Cc: jarod@redhat.com, felipe.balbi@linux.intel.com, a@unstable.cc, fw@strlen.de, tglx@linutronix.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Karim Eshapa Subject: [PATCH 2/2] drivers:net:ethernet:3com:3c512: array char instead of char pointer Date: Sat, 22 Apr 2017 02:17:39 +0200 Message-Id: <1492820259-5770-1-git-send-email-karim.eshapa@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 23 char pointer creates two variables static string and pointer to it according to Jeff Garzik janitors TODO Signed-off-by: Karim Eshapa --- 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