diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-05-04 08:07:39 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-05-04 08:07:39 +0000 |
commit | f89ff525ee19752a376d00c343cfd038d22bb797 (patch) | |
tree | 033bc2f5e13b7c80a9ecf4b9bfbfa4e12532833c /target/linux/brcm63xx/patches-2.6.33 | |
parent | 34ad2a0b71ab9e6e67199fb0cc4a859b66e7f821 (diff) | |
download | mtk-20170518-f89ff525ee19752a376d00c343cfd038d22bb797.zip mtk-20170518-f89ff525ee19752a376d00c343cfd038d22bb797.tar.gz mtk-20170518-f89ff525ee19752a376d00c343cfd038d22bb797.tar.bz2 |
revert r21085, fixes #7282
SVN-Revision: 21352
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch b/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch index 6edb8c7..5f3e0a2 100644 --- a/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch +++ b/target/linux/brcm63xx/patches-2.6.33/040-bcm963xx_flashmap.patch @@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org> + return -ENOMEM; + + /* Get the tag */ -+ ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf); ++ ret = master->read(master,mater->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf); + if (retlen != sizeof(struct bcm_tag)){ + vfree(buf); + return -EIO; |