Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218932
b: refs/heads/master
c: f830104
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Kyle McMartin committed Oct 22, 2010
1 parent 97f6d22 commit 9ef7061
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: b97680c419b75b0c2cf6837a9f268e2ecbaf50f6
refs/heads/master: f8301041d7bdca3197d718518242eeba0c75352f
4 changes: 2 additions & 2 deletions trunk/drivers/parisc/iosapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,8 @@ void *iosapic_register(unsigned long hpa)
isi->isi_version = iosapic_rd_version(isi);
isi->isi_num_vectors = IOSAPIC_IRDT_MAX_ENTRY(isi->isi_version) + 1;

vip = isi->isi_vector = (struct vector_info *)
kzalloc(sizeof(struct vector_info) * isi->isi_num_vectors, GFP_KERNEL);
vip = isi->isi_vector = kcalloc(isi->isi_num_vectors,
sizeof(struct vector_info), GFP_KERNEL);
if (vip == NULL) {
kfree(isi);
return NULL;
Expand Down

0 comments on commit 9ef7061

Please sign in to comment.