netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ucc_geth: fix UCC device number in debug message
@ 2010-07-28 18:05 Sergey Matyukevich
  2010-07-31  5:09 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Matyukevich @ 2010-07-28 18:05 UTC (permalink / raw)
  To: netdev; +Cc: Li Yang, Sergey Matyukevich

This patch contains a fix for UCC device number in verbose debug message.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>

---
 drivers/net/ucc_geth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 807470e..ca1f36d 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -594,7 +594,7 @@ static void dump_regs(struct ucc_geth_private *ugeth)
 {
 	int i;
 
-	ugeth_info("UCC%d Geth registers:", ugeth->ug_info->uf_info.ucc_num);
+	ugeth_info("UCC%d Geth registers:", ugeth->ug_info->uf_info.ucc_num + 1);
 	ugeth_info("Base address: 0x%08x", (u32) ugeth->ug_regs);
 
 	ugeth_info("maccfg1    : addr - 0x%08x, val - 0x%08x",
-- 
1.6.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ucc_geth: fix UCC device number in debug message
  2010-07-28 18:05 [PATCH] ucc_geth: fix UCC device number in debug message Sergey Matyukevich
@ 2010-07-31  5:09 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-07-31  5:09 UTC (permalink / raw)
  To: geomatsi; +Cc: netdev, leoli

From: Sergey Matyukevich <geomatsi@gmail.com>
Date: Wed, 28 Jul 2010 22:05:21 +0400

> This patch contains a fix for UCC device number in verbose debug message.
> 
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>

Applied, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-31  5:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 18:05 [PATCH] ucc_geth: fix UCC device number in debug message Sergey Matyukevich
2010-07-31  5:09 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).