[kernel] r5399 - in dists/trunk/linux-2.6/debian: . patches
patches/series
Martin Michlmayr
tbm at costa.debian.org
Tue Jan 10 23:24:26 UTC 2006
Author: tbm
Date: Tue Jan 10 23:24:25 2006
New Revision: 5399
Added:
dists/trunk/linux-2.6/debian/patches/arm-fix-dc21285.patch
Modified:
dists/trunk/linux-2.6/debian/changelog
dists/trunk/linux-2.6/debian/patches/series/1
Log:
debian/patches/arm-fix-dc21285.patch: Fix compilation errors in
drivers/mtd/maps/dc21285.c.
Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog (original)
+++ dists/trunk/linux-2.6/debian/changelog Tue Jan 10 23:24:25 2006
@@ -9,6 +9,8 @@
NE2K).
* [arm] Allow modules to be unloaded.
* [arm] Enable more framebuffer drivers on Footbridge.
+ * debian/patches/arm-fix-dc21285.patch: Fix compilation errors in
+ drivers/mtd/maps/dc21285.c.
-- Martin Michlmayr <tbm at cyrius.com> Tue, 10 Jan 2006 22:59:19 +0000
Added: dists/trunk/linux-2.6/debian/patches/arm-fix-dc21285.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/arm-fix-dc21285.patch Tue Jan 10 23:24:25 2006
@@ -0,0 +1,40 @@
+## DP: Fix compilation errors in dc21285.c
+## DP: Patch author: Martin Michlmayr <tbm at cyrius.com>
+## DP: Upstream status: Submitted
+#
+
+--- old/drivers/mtd/maps/dc21285.c~ 2006-01-10 19:40:53.000000000 +0000
++++ new/drivers/mtd/maps/dc21285.c 2006-01-10 19:52:14.000000000 +0000
+@@ -110,8 +110,9 @@
+ {
+ while (len > 0) {
+ map_word d;
+- d.x[0] = *((uint32_t*)from)++;
++ d.x[0] = *((uint32_t*)from);
+ dc21285_write32(map, d, to);
++ from += 4;
+ to += 4;
+ len -= 4;
+ }
+@@ -121,8 +122,9 @@
+ {
+ while (len > 0) {
+ map_word d;
+- d.x[0] = *((uint16_t*)from)++;
++ d.x[0] = *((uint16_t*)from);
+ dc21285_write16(map, d, to);
++ from += 2;
+ to += 2;
+ len -= 2;
+ }
+@@ -131,8 +133,9 @@
+ static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len)
+ {
+ map_word d;
+- d.x[0] = *((uint8_t*)from)++;
++ d.x[0] = *((uint8_t*)from);
+ dc21285_write8(map, d, to);
++ from++;
+ to++;
+ len--;
+ }
Modified: dists/trunk/linux-2.6/debian/patches/series/1
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/1 (original)
+++ dists/trunk/linux-2.6/debian/patches/series/1 Tue Jan 10 23:24:25 2006
@@ -21,4 +21,5 @@
+ powerpc-mv643xx-spinlock-fix-support.patch
+ powerpc-prep-utah-ide-interrupt.patch
+ powerpc-mv643xx-hotplug-support.patch
++ arm-fix-dc21285.patch
More information about the Kernel-svn-changes
mailing list