Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}