forked from Minki/linux
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: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ca735bd83f
commit
a0c51cf107
@ -4544,7 +4544,7 @@ static int sky2_debug_show(struct seq_file *seq, void *v)
|
||||
sky2_read32(hw, B0_Y2_SP_ICR));
|
||||
|
||||
if (!netif_running(dev)) {
|
||||
seq_printf(seq, "network not running\n");
|
||||
seq_puts(seq, "network not running\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user