From: Markus Elfring Date: Mon, 17 Apr 2017 14:15:12 +0000 (+0200) Subject: sky2: Use seq_puts() in sky2_debug_show() X-Git-Tag: v4.12-rc1~129^2~163^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0c51cf10720348001bc5fbcd1b521e8622efda1;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c index 2b2cc3f..1145cde 100644 --- a/drivers/net/ethernet/marvell/sky2.c +++ b/drivers/net/ethernet/marvell/sky2.c @@ -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; }