projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee3136
)
ucc_geth: fix UCC device number in debug message
author
Sergey Matyukevich
<geomatsi@gmail.com>
Wed, 28 Jul 2010 08:05:21 +0000
(08:05 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 31 Jul 2010 05:08:50 +0000
(22:08 -0700)
This patch contains a fix for UCC device number in verbose debug message.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ucc_geth.c
b/drivers/net/ucc_geth.c
index e17dd743091532a394fd4671d71623775b5a1cdc..8d532f9b50d073069bbcb109b10767f7c3c09395 100644
(file)
--- 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",