Commit a2b89cd8 authored by Joe Perches's avatar Joe Perches Committed by Wim Van Sebroeck

watchdog: Use static const char * const where possible

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 641912f4
...@@ -388,7 +388,7 @@ static struct notifier_block zf_notifier = { ...@@ -388,7 +388,7 @@ static struct notifier_block zf_notifier = {
static void __init zf_show_action(int act) static void __init zf_show_action(int act)
{ {
char *str[] = { "RESET", "SMI", "NMI", "SCI" }; static const char * const str[] = { "RESET", "SMI", "NMI", "SCI" };
printk(KERN_INFO PFX ": Watchdog using action = %s\n", str[act]); printk(KERN_INFO PFX ": Watchdog using action = %s\n", str[act]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment