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:
Родитель
98683956ac
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче