From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Maciej W. Rozycki" Subject: [PATCH 4/4] FDDI: defza: Make the driver version string constant Date: Wed, 7 Nov 2018 12:07:10 +0000 (GMT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: netdev@vger.kernel.org Return-path: Received: from eddie.linux-mips.org ([148.251.95.138]:37442 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726413AbeKGViP (ORCPT ); Wed, 7 Nov 2018 16:38:15 -0500 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23992820AbeKGMHK1sfRO (ORCPT ); Wed, 7 Nov 2018 13:07:10 +0100 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: The driver version string is obviously not meant to be changed at run time, so mark it `const'. Signed-off-by: Maciej W. Rozycki --- drivers/net/fddi/defza.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) linux-defza-version-static-fix.patch Index: linux-20181104-4maxp64/drivers/net/fddi/defza.c =================================================================== --- linux-20181104-4maxp64.orig/drivers/net/fddi/defza.c +++ linux-20181104-4maxp64/drivers/net/fddi/defza.c @@ -56,7 +56,7 @@ #define DRV_VERSION "v.1.1.4" #define DRV_RELDATE "Oct 6 2018" -static char version[] = +static const char version[] = DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Maciej W. Rozycki\n"; MODULE_AUTHOR("Maciej W. Rozycki ");