From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: netdev@vger.kernel.org
Subject: [PATCH 4/4] FDDI: defza: Make the driver version string constant
Date: Wed, 7 Nov 2018 12:07:10 +0000 (GMT) [thread overview]
Message-ID: <alpine.LFD.2.21.1811071202370.20378@eddie.linux-mips.org> (raw)
In-Reply-To: <alpine.LFD.2.21.1811070323450.20378@eddie.linux-mips.org>
The driver version string is obviously not meant to be changed at run
time, so mark it `const'.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
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 <macro@linux-mips.org>");
next prev parent reply other threads:[~2018-11-07 21:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-07 12:06 [PATCH 0/4] FDDI: defza: Fix a bunch of small issues Maciej W. Rozycki
2018-11-07 12:06 ` [PATCH 1/4] FDDI: defza: Fix SPDX annotation Maciej W. Rozycki
2018-11-07 12:06 ` [PATCH 2/4] FDDI: defza: Add missing comment closing Maciej W. Rozycki
2018-11-07 12:07 ` [PATCH 3/4] FDDI: defza: Move SMT Tx data buffer declaration next to its skb Maciej W. Rozycki
2018-11-07 12:07 ` Maciej W. Rozycki [this message]
2018-11-08 5:53 ` [PATCH 0/4] FDDI: defza: Fix a bunch of small issues David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.21.1811071202370.20378@eddie.linux-mips.org \
--to=macro@linux-mips.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).