OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99101d3
)
drivers/net/wireless: Use static const char * const where possible
author
Joe Perches
<joe@perches.com>
Mon, 13 Sep 2010 18:23:55 +0000
(18:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Sep 2010 03:22:04 +0000
(20:22 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/rt2x00/rt2x00debug.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2x00debug.c
b/drivers/net/wireless/rt2x00/rt2x00debug.c
index
b8cf45c
..
c1710b2
100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2x00debug.c
+++ b/
drivers/net/wireless/rt2x00/rt2x00debug.c
@@
-380,7
+380,7
@@
static ssize_t rt2x00debug_read_crypto_stats(struct file *file,
loff_t *offset)
{
struct rt2x00debug_intf *intf = file->private_data;
-
char *
name[] = { "WEP64", "WEP128", "TKIP", "AES" };
+
static const char * const
name[] = { "WEP64", "WEP128", "TKIP", "AES" };
char *data;
char *temp;
size_t size;