Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24845
b: refs/heads/master
c: 84e699e
h: refs/heads/master
i:
  24843: 704a39c
v: v3
  • Loading branch information
Peter Korsgaard authored and Linus Torvalds committed Mar 31, 2006
1 parent c690b2a commit 6d7e43d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a63ec1b7b7c38f9a61ed11eefd670a49879e9dd3
refs/heads/master: 84e699e6ec5b431289474f78f8df9dfcc2737085
6 changes: 1 addition & 5 deletions trunk/drivers/mtd/redboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ static int parse_redboot_partitions(struct mtd_info *master,

numslots = (master->erasesize / sizeof(struct fis_image_desc));
for (i = 0; i < numslots; i++) {
if (buf[i].name[0] == 0xff) {
i = numslots;
break;
}
if (!memcmp(buf[i].name, "FIS directory", 14)) {
/* This is apparently the FIS directory entry for the
* FIS directory itself. The FIS directory size is
Expand Down Expand Up @@ -128,7 +124,7 @@ static int parse_redboot_partitions(struct mtd_info *master,
struct fis_list *new_fl, **prev;

if (buf[i].name[0] == 0xff)
break;
continue;
if (!redboot_checksum(&buf[i]))
break;

Expand Down

0 comments on commit 6d7e43d

Please sign in to comment.