Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84308
b: refs/heads/master
c: 484b8e6
h: refs/heads/master
v: v3
  • Loading branch information
Rizzo Davide authored and David Woodhouse committed Feb 7, 2008
1 parent 564ba23 commit 6da1d88
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: 53fb84a0695ffeeeadf8ae92db28cbccf5325531
refs/heads/master: 484b8e64c848185af0d3671fafba4dd66ca412d2
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/chips/gen_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static struct cfi_private *genprobe_ident_chips(struct map_info *map, struct chi
max_chips = 1;
}

mapsize = (max_chips + BITS_PER_LONG-1) / BITS_PER_LONG;
mapsize = sizeof(long) * ( (max_chips + BITS_PER_LONG-1) / BITS_PER_LONG );
chip_map = kzalloc(mapsize, GFP_KERNEL);
if (!chip_map) {
printk(KERN_WARNING "%s: kmalloc failed for CFI chip map\n", map->name);
Expand Down

0 comments on commit 6da1d88

Please sign in to comment.