Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S976319AbdDXRuO (ORCPT ); Mon, 24 Apr 2017 13:50:14 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33596 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S976294AbdDXRt4 (ORCPT ); Mon, 24 Apr 2017 13:49:56 -0400 From: Karim Eshapa To: davem@davemloft.net Cc: felipe.balbi@linux.intel.com, paul.gortmaker@windriver.com, mugunthanvnm@ti.com, jarod@redhat.com, fw@strlen.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Karim Eshapa Subject: PATCH drivers:net:cris/eth_v10: alternate string char arrary Date: Mon, 24 Apr 2017 19:49:39 +0200 Message-Id: <1493056179-6460-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: 743 Lines: 24 static char pointer creates two variables in final assembly. static string and pointer to it according to Jeff Garzik janitors TODO. Signed-off-by: Karim Eshapa --- drivers/net/cris/eth_v10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 91c876a..370765f 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/net/cris/eth_v10.c @@ -44,7 +44,7 @@ * io regions, irqs and dma channels */ -static const char* cardname = "ETRAX 100LX built-in ethernet controller"; +static const char cardname[] = "ETRAX 100LX built-in ethernet controller"; /* A default ethernet address. Highlevel SW will set the real one later */ -- 2.7.4