diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-04-17 17:15:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-18 20:55:11 +0300 |
commit | a0c51cf10720348001bc5fbcd1b521e8622efda1 (patch) | |
tree | 182382d7b8a7f6bc792da0ea356f40414cff271b /drivers/net/ethernet/marvell | |
parent | ca735bd83f2d076a0a9ad8aeeb054737e3e0063f (diff) | |
download | linux-a0c51cf10720348001bc5fbcd1b521e8622efda1.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/sky2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c index 2b2cc3f3ca10..1145cde2274a 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; } |