Skip to contentSkip to conversation

arch/arm: Fix build failure for ixp23xx-defconfig caused by typo

PATCH New Peter Hüwe 1 participant 1 message Jan 18, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/arm: Fix build failure for ixp23xx-defconfig caused by typo

From: Peter Huewe <[email protected]>
Date: Mon, 18 Jan 2010 18:07:20 +0100

This patch fixes a build failure[1] caused by an odd parenthesis.

References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2020080/

---
KernelVersion: 2.6.33-rc4

Checkpatch generates warnings for the patch - but this is due to the original code, not the change.

 arch/arm/mach-ixp23xx/include/mach/memory.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-ixp23xx/include/mach/memory.h +1 -1
index 94a3a86..6ef65d8 100644
@@ -19,7 +19,7 @@
  */
 #define PHYS_OFFSET		(0x00000000)
 
-#define IXP23XX_PCI_SDRAM_OFFSET (*((volatile int *)IXP23XX_PCI_SDRAM_BAR) & 0xfffffff0))
+#define IXP23XX_PCI_SDRAM_OFFSET (*((volatile int *)IXP23XX_PCI_SDRAM_BAR) & 0xfffffff0)
 
 #define __phys_to_bus(x)	((x) + (IXP23XX_PCI_SDRAM_OFFSET - PHYS_OFFSET))
 #define __bus_to_phys(x)	((x) - (IXP23XX_PCI_SDRAM_OFFSET - PHYS_OFFSET))
Signature · 1 line
1.6.4.4