Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228080
b: refs/heads/master
c: 0a1c62d
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 3725b77 commit b9369c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 5ef3df5b9fed56e64e8544e36a175354d38d0206
refs/heads/master: 0a1c62dedc6e28a1117b00c4ccb4427bc91b9f29
6 changes: 2 additions & 4 deletions trunk/drivers/staging/spectra/lld_emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,8 @@ u16 emu_Flash_Init(void)
nand_dbg_print(NAND_DBG_TRACE, "%s, Line %d, Function: %s\n",
__FILE__, __LINE__, __func__);

flash_memory[0] = (u8 *)vmalloc(GLOB_LLD_PAGE_SIZE *
GLOB_LLD_BLOCKS *
GLOB_LLD_PAGES *
sizeof(u8));
flash_memory[0] = vmalloc(GLOB_LLD_PAGE_SIZE * GLOB_LLD_BLOCKS *
GLOB_LLD_PAGES * sizeof(u8));
if (!flash_memory[0]) {
printk(KERN_ERR "Fail to allocate memory "
"for nand emulator!\n");
Expand Down

0 comments on commit b9369c2

Please sign in to comment.