diff options
author | Florian Fainelli <florian@openwrt.org> | 2014-01-27 04:34:39 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2014-01-27 04:34:39 +0000 |
commit | d15698a561387305c94c7cf407bed06dc4fbc0a2 (patch) | |
tree | f461fe2b3444d87dad781e9d9cce1c4073d58b49 /target | |
parent | ca9a8dc7171ad14ffb12ee4fcb1f0a5263b76968 (diff) | |
download | upstream-d15698a561387305c94c7cf407bed06dc4fbc0a2.tar.gz upstream-d15698a561387305c94c7cf407bed06dc4fbc0a2.tar.bz2 upstream-d15698a561387305c94c7cf407bed06dc4fbc0a2.zip |
brcm63xx: fix warning in Redboot code
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39404 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm63xx/patches-3.10/400-bcm963xx_flashmap.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 <ago@bastart.eu.org> + } 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); + } + } + } |