Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34001
b: refs/heads/master
c: de591da
h: refs/heads/master
i:
  33999: fe8cd6c
v: v3
  • Loading branch information
Håvard Skinnemoen authored and David Woodhouse committed Sep 16, 2006
1 parent b579d6e commit 376df37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: d882687c51b52424a56992578ce7636b3f3c8d41
refs/heads/master: de591dacf3034977b3fb94b61d08240c8b35c39d
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/chips/cfi_cmdset_0002.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
struct cfi_pri_atmel atmel_pri;

memcpy(&atmel_pri, extp, sizeof(atmel_pri));
memset(extp + 5, 0, sizeof(*extp) - 5);
memset((char *)extp + 5, 0, sizeof(*extp) - 5);

if (atmel_pri.Features & 0x02)
extp->EraseSuspend = 2;
Expand Down

0 comments on commit 376df37

Please sign in to comment.