From: Florian Fainelli Date: Mon, 27 Jan 2014 04:34:39 +0000 (+0000) Subject: brcm63xx: fix warning in Redboot code X-Git-Tag: reboot~8070 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87f8092629fb0caa0101241a4ae20d84657aac37;p=openwrt%2Fstaging%2Fxback.git brcm63xx: fix warning in Redboot code Signed-off-by: Florian Fainelli SVN-Revision: 39404 --- diff --git a/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch index 0bbb4e5289..1594a063aa 100644 --- a/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch +++ b/target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch @@ -40,7 +40,7 @@ Signed-off-by: Axel Gembe + } else { + for (i = 0; i < numslots; i++) { + if (!strncmp(buf[i].name, "RedBoot", 8)) { -+ fis_origin = (buf[i].flash_base & (master->size << 1) - 1); ++ fis_origin = ((buf[i].flash_base & (master->size << 1)) - 1); + } + } + }