Skip to contentSkip to conversation

fix error in cpm2

PATCH In review Amy Fong 2 participants 2 messages Sep 19, 2006

lore
Share & tools
lore

Amy Fong

author
#0 lore raw

PATCH 1/1 fix error in cpm2

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

include/asm-ppc/cpm2.h +1 -1
Index: 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__ */
#1 lore raw
Quoted 17 lines · On Mon, 18 Sep 2006 23:06:25 -0400 Amy Fong <[email protected]> wrote:

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

Index: linux-2.6.18-rc6/include/asm-ppc/cpm2.h
===================================================================

include/asm-ppc/cpm2.h +1 -1
@@ -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__ */
Quoted 6 lines

_______________________________________________
Linuxppc-dev mailing list
[email protected]
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...

Signature · 2 lines
Sincerely, 
Vitaly