Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28159
b: refs/heads/master
c: 4c021dd
h: refs/heads/master
i:
  28157: 8708cd1
  28155: 0938429
  28151: 470dbf9
  28143: 1a5b3f9
  28127: ed9c221
  28095: 5a2e1db
  28031: 6df91db
  27903: b7697a3
  27647: d1f4bd0
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Apr 14, 2006
1 parent 2a52fd4 commit f4e9aec
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 84d891d6727c17832c79ec96d3d107a87d857978
refs/heads/master: 4c021dd136c0ad524e6d117296beafad2bf570c0
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/ibmvscsi/ibmvscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,9 @@ static int initialize_event_pool(struct event_pool *pool,

pool->size = size;
pool->next = 0;
pool->events = kmalloc(pool->size * sizeof(*pool->events), GFP_KERNEL);
pool->events = kcalloc(pool->size, sizeof(*pool->events), GFP_KERNEL);
if (!pool->events)
return -ENOMEM;
memset(pool->events, 0x00, pool->size * sizeof(*pool->events));

pool->iu_storage =
dma_alloc_coherent(hostdata->dev,
Expand Down

0 comments on commit f4e9aec

Please sign in to comment.