Commit 6a64cd64 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

forcedeth: fix non-constant printk warnings

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 98683956
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment