summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/skge.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-17 15:43:08 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-18 19:55:10 +0200
commitd77566247d62660b74fbd233a00b8aee76f3bfdb (patch)
treefceee43b756328a9656e6c719c4419df09dc2ea7 /drivers/net/ethernet/marvell/skge.c
parentnet: pxa168_eth: Adjust four checks for null pointers (diff)
downloadlinux-d77566247d62660b74fbd233a00b8aee76f3bfdb.tar.xz
linux-d77566247d62660b74fbd233a00b8aee76f3bfdb.zip
skge: Use seq_puts() in skge_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/skge.c')
-rw-r--r--drivers/net/ethernet/marvell/skge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c
index edb95271a4f2..90bfdbcfd910 100644
--- a/drivers/net/ethernet/marvell/skge.c
+++ b/drivers/net/ethernet/marvell/skge.c
@@ -3718,7 +3718,7 @@ static int skge_debug_show(struct seq_file *seq, void *v)
t->csum_offs, t->csum_write, t->csum_start);
}
- seq_printf(seq, "\nRx Ring:\n");
+ seq_puts(seq, "\nRx Ring:\n");
for (e = skge->rx_ring.to_clean; ; e = e->next) {
const struct skge_rx_desc *r = e->desc;