mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
forcedeth: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
98683956ac
commit
6a64cd64c0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user