[PATCH] fix error in cpm2

STALE7269d

2 messages, 2 authors, 2006-09-19 · open the first message on its own page

[PATCH] fix error in cpm2

From: Amy Fong <hidden>
Date: 2006-09-19 07:08:13

The following patch fixes a typo in cpm2.h resulting in a compile error.

Signed-off-by: Amy Fong <redacted>

Index: linux-2.6.18-rc6/include/asm-ppc/cpm2.h
===================================================================
--- linux-2.6.18-rc6.orig/include/asm-ppc/cpm2.h
+++ linux-2.6.18-rc6/include/asm-ppc/cpm2.h
@@ -1186,7 +1186,7 @@
 #define FCC_MEM_OFFSET(x) (CPM_FCC_SPECIAL_BASE + (x*128))
 #define FCC1_MEM_OFFSET FCC_MEM_OFFSET(0)
 #define FCC2_MEM_OFFSET FCC_MEM_OFFSET(1)
-#define FCC2_MEM_OFFSET FCC_MEM_OFFSET(2)
+#define FCC3_MEM_OFFSET FCC_MEM_OFFSET(2)
 
 #endif /* __CPM2__ */
 #endif /* __KERNEL__ */

Re: [PATCH] fix error in cpm2

From: Vitaly Bordug <hidden>
Date: 2006-09-19 14:55:06

On Mon, 18 Sep 2006 23:06:25 -0400
Amy Fong [off-list ref] wrote:
quoted hunk
The following patch fixes a typo in cpm2.h resulting in a compile error.

Signed-off-by: Amy Fong <redacted>

Index: linux-2.6.18-rc6/include/asm-ppc/cpm2.h
===================================================================
--- linux-2.6.18-rc6.orig/include/asm-ppc/cpm2.h
+++ linux-2.6.18-rc6/include/asm-ppc/cpm2.h
@@ -1186,7 +1186,7 @@
 #define FCC_MEM_OFFSET(x) (CPM_FCC_SPECIAL_BASE + (x*128))
 #define FCC1_MEM_OFFSET FCC_MEM_OFFSET(0)
 #define FCC2_MEM_OFFSET FCC_MEM_OFFSET(1)
-#define FCC2_MEM_OFFSET FCC_MEM_OFFSET(2)
+#define FCC3_MEM_OFFSET FCC_MEM_OFFSET(2)
 
 #endif /* __CPM2__ */
 #endif /* __KERNEL__ */
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Well, I have this hunk in

[PATCH 3/7] POWERPC: Move generic cpm2 stuff to powerpc
already...

Paul, does it make sense to extract and re-send this specific fix?
I think it will be OK for this to appear next major merge...
-- 
Sincerely, 
Vitaly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help