Commit a0c51cf1 authored by Markus Elfring's avatar Markus Elfring Committed by David S. Miller

sky2: Use seq_puts() in sky2_debug_show()

A string which did not contain a data format specification should be put
into a sequence. Thus use the corresponding function "seq_puts".

This issue was detected by using the Coccinelle software.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ca735bd8
...@@ -4544,7 +4544,7 @@ static int sky2_debug_show(struct seq_file *seq, void *v) ...@@ -4544,7 +4544,7 @@ static int sky2_debug_show(struct seq_file *seq, void *v)
sky2_read32(hw, B0_Y2_SP_ICR)); sky2_read32(hw, B0_Y2_SP_ICR));
if (!netif_running(dev)) { if (!netif_running(dev)) {
seq_printf(seq, "network not running\n"); seq_puts(seq, "network not running\n");
return 0; return 0;
} }
......
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