mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
smc911x: Fix printf format typo in smc911x driver.
Signed-off-by: Vernon Sauder <VernonInHand@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a7f75c0c9c
commit
eafdcb433f
@ -1813,7 +1813,7 @@ static int __init smc911x_probe(struct net_device *dev)
|
|||||||
val = SMC_GET_BYTE_TEST(lp);
|
val = SMC_GET_BYTE_TEST(lp);
|
||||||
DBG(SMC_DEBUG_MISC, "%s: endian probe returned 0x%04x\n", CARDNAME, val);
|
DBG(SMC_DEBUG_MISC, "%s: endian probe returned 0x%04x\n", CARDNAME, val);
|
||||||
if (val != 0x87654321) {
|
if (val != 0x87654321) {
|
||||||
printk(KERN_ERR "Invalid chip endian 0x08%x\n",val);
|
printk(KERN_ERR "Invalid chip endian 0x%08x\n",val);
|
||||||
retval = -ENODEV;
|
retval = -ENODEV;
|
||||||
goto err_out;
|
goto err_out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user