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 | 87f8092629fb0caa0101241a4ae20d84657aac37 (patch) | |
tree | 277eabb3e3e22b640cb5de7905e5c156b8363a0d /target/linux/brcm63xx/patches-3.10 | |
parent | a709f0fd9a895d7b54ae186a2d89fb43c1c6c5c6 (diff) | |
download | master-31e0f0ae-87f8092629fb0caa0101241a4ae20d84657aac37.tar.gz master-31e0f0ae-87f8092629fb0caa0101241a4ae20d84657aac37.tar.bz2 master-31e0f0ae-87f8092629fb0caa0101241a4ae20d84657aac37.zip |
brcm63xx: fix warning in Redboot code
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39404
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10')
-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); + } + } + } |