Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b47d654089c5ce3f2ea26a4485db9bcead1e515
Commit:     0b47d654089c5ce3f2ea26a4485db9bcead1e515
Parent:     7dcb483de3b33e74ddd2040bd7b6ba96d86a91f8
Author:     Yoshinori Sato <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 1 10:01:50 2006 +0000
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Fri Dec 1 10:01:50 2006 +0000

    [MTD] redboot partition combined fis / config problem
    
    Can't analyze FIS directory in CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
    really.
    
    Signed-off-by: Yoshinori Sato <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 drivers/mtd/redboot.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/redboot.c b/drivers/mtd/redboot.c
index 4b27721..b525921 100644
--- a/drivers/mtd/redboot.c
+++ b/drivers/mtd/redboot.c
@@ -110,6 +110,9 @@ static int parse_redboot_partitions(struct mtd_info *master,
                                }
                        }
                        break;
+               } else {
+                       /* re-calculate of real numslots */
+                       numslots = buf[i].size / sizeof(struct fis_image_desc);
                }
        }
        if (i == numslots) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to