X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fubicom32%2Fpatches-2.6.30%2F130-flash_driver_fix.patch;fp=target%2Flinux%2Fubicom32%2Fpatches-2.6.30%2F130-flash_driver_fix.patch;h=0000000000000000000000000000000000000000;hb=3256895004283fa8b008df82d3bc27e8ded7ef5d;hp=95fa50807b0f527804a031a66795de8b7da4384a;hpb=1a417a0ab6f6d7c5825439bed9205c18cb40d0ab;p=openwrt-10.03%2F.git diff --git a/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch b/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch deleted file mode 100644 index 95fa50807..000000000 --- a/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/drivers/mtd/devices/ubi32-m25p80.c -+++ b/drivers/mtd/devices/ubi32-m25p80.c -@@ -630,8 +630,8 @@ static int ubicom32_flash_driver_erase(s - /* sanity checks */ - if (instr->addr + instr->len > flash->mtd.size) - return -EINVAL; -- if ((instr->addr % mtd->erasesize) != 0 -- || (instr->len % mtd->erasesize) != 0) { -+ if (((u32) instr->addr % mtd->erasesize) != 0 -+ || ((u32) instr->len % mtd->erasesize) != 0) { - return -EINVAL; - } -