Skip to contentSkip to conversation

fix smc911x.c printf typo

DISCUSSION David Miller 2 participants 3 messages Nov 16, 2008 – Nov 20, 2008

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

Your email client corrupted this patch, breaking up lines and making other modifications which make the patch not usable.

Please fix this up and resubmit your change, thanks!

#1 lore raw
Quoted 5 lines · David Miller

Your email client corrupted this patch, breaking up lines and making other modifications which make the patch not usable.

Please fix this up and resubmit your change, thanks!

Sorry about that. I didn't even see it. Here it is again. I also attached it if that works better.

From: Vernon Sauder <[email protected]>

Fix printf format typo in smc911x driver.

I sent this to Dustin McIntire <[email protected]> but the email server rejected it.

---
Patch against 2.6.28-rc4 Linus git tree.

 drivers/net/smc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/smc911x.c +1 -1
index 5051554..b965fec 100644
@@ -1813,7 +1813,7 @@ static int __init smc911x_probe(struct net_device *dev)
 	val = SMC_GET_BYTE_TEST(lp);
 	DBG(SMC_DEBUG_MISC, "%s: endian probe returned 0x%04x\n", CARDNAME, val);
 	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;
 		goto err_out;
 	}
Signature · 1 line
1.5.2.4
Quoted 1 line

From 3bca1e993a997942f02241c4725206e94bbedbc3 Mon Sep 17 00:00:00 2001

From: Vernon Sauder <[email protected]>
Date: Tue, 11 Nov 2008 21:01:25 -0500
Subject: [PATCH] fix smc911x.c printf typo

---
 drivers/net/smc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/smc911x.c +1 -1
index 5051554..b965fec 100644
@@ -1813,7 +1813,7 @@ static int __init smc911x_probe(struct net_device *dev)
 	val = SMC_GET_BYTE_TEST(lp);
 	DBG(SMC_DEBUG_MISC, "%s: endian probe returned 0x%04x\n", CARDNAME, val);
 	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;
 		goto err_out;
 	}
Signature · 1 line
1.5.2.4
author maintainer Applied
#2 lore raw

From: Vernon Sauder <[email protected]>
Date: Tue, 18 Nov 2008 15:25:55 -0500

Quoted 10 lines
Quoted 5 lines · David Miller

Your email client corrupted this patch, breaking up lines and making other modifications which make the patch not usable.

Please fix this up and resubmit your change, thanks!

Sorry about that. I didn't even see it. Here it is again. I also attached it if that works better.

Applied, thanks Vernon.