projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9868395
)
forcedeth: fix non-constant printk warnings
author
Stephen Hemminger
<shemminger@vyatta.com>
Thu, 26 Feb 2009 10:19:35 +0000
(10:19 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 06:22:03 +0000
(22:22 -0800)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c
patch
|
blob
|
history
diff --git
a/drivers/net/forcedeth.c
b/drivers/net/forcedeth.c
index 8b7f8b77e5e01ef3db19f1ce1f99c7ca482ae3a2..e3b7305e8b8cecb39a3bd73688dad52bf7b4d980 100644
(file)
--- a/
drivers/net/forcedeth.c
+++ b/
drivers/net/forcedeth.c
@@
-940,7
+940,7
@@
static int reg_delay(struct net_device *dev, int offset, u32 mask, u32 target,
delaymax -= delay;
if (delaymax < 0) {
if (msg)
- printk(msg);
+ printk(
"%s",
msg);
return 1;
}
} while ((readl(base + offset) & mask) != target);