projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca735bd
)
sky2: Use seq_puts() in sky2_debug_show()
author
Markus Elfring
<
[email protected]
>
Mon, 17 Apr 2017 14:15:12 +0000
(16:15 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 18 Apr 2017 17:55:11 +0000
(13:55 -0400)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/sky2.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/sky2.c
b/drivers/net/ethernet/marvell/sky2.c
index 2b2cc3f3ca1084ef7aebcb486a1eedc4985f3fa4..1145cde2274a4cb778ba816716c3c55a5850d71e 100644
(file)
--- 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_p
rintf
(seq, "network not running\n");
+ seq_p
uts
(seq, "network not running\n");
return 0;
}