Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68509
b: refs/heads/master
c: f4e3564
h: refs/heads/master
i:
  68507: f245e88
v: v3
  • Loading branch information
Andrew Morton authored and David Woodhouse committed Aug 22, 2007
1 parent 1005f68 commit c27ac31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9ed437c50d89eabae763dd422579f73fdebf288d
refs/heads/master: f4e35647f5c0ac24ca1ba14f84bf817ec0483b72
4 changes: 2 additions & 2 deletions trunk/fs/jffs2/erase.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static int jffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_erasebl
} while(--retlen);
c->mtd->unpoint(c->mtd, ebuf, jeb->offset, c->sector_size);
if (retlen)
printk(KERN_WARNING "Newly-erased block contained word 0x%lx at offset 0x%08x\n",
printk(KERN_WARNING "Newly-erased block contained word 0x%lx at offset 0x%08tx\n",
*wordebuf, jeb->offset + c->sector_size-retlen*sizeof(*wordebuf));
return 0;
}
Expand Down Expand Up @@ -401,7 +401,7 @@ static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseb
{
size_t retlen;
int ret;
uint32_t bad_offset;
uint32_t uninitialized_var(bad_offset);

switch (jffs2_block_check_erase(c, jeb, &bad_offset)) {
case -EAGAIN: goto refile;
Expand Down

0 comments on commit c27ac31

Please sign in to comment.