Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26293
b: refs/heads/master
c: 40ac6b2
h: refs/heads/master
i:
  26291: 8bbde88
v: v3
  • Loading branch information
Christian Borntraeger authored and Linus Torvalds committed Apr 28, 2006
1 parent 1f3b5fd commit 52d444c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 39ccf95e28765a08a9e01be614695d7c570b4e77
refs/heads/master: 40ac6b204c20da09b64b6dcc10c68b6e7bd9fadd
6 changes: 3 additions & 3 deletions trunk/drivers/s390/cio/qdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ qdio_release_irq_memory(struct qdio_irq *irq_ptr)

}
kfree(irq_ptr->qdr);
kfree(irq_ptr);
free_page((unsigned long) irq_ptr);
}

static void
Expand Down Expand Up @@ -2983,7 +2983,7 @@ qdio_allocate(struct qdio_initialize *init_data)
qdio_allocate_do_dbf(init_data);

/* create irq */
irq_ptr = kzalloc(sizeof(struct qdio_irq), GFP_KERNEL | GFP_DMA);
irq_ptr = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);

QDIO_DBF_TEXT0(0,setup,"irq_ptr:");
QDIO_DBF_HEX0(0,setup,&irq_ptr,sizeof(void*));
Expand All @@ -2998,7 +2998,7 @@ qdio_allocate(struct qdio_initialize *init_data)
/* QDR must be in DMA area since CCW data address is only 32 bit */
irq_ptr->qdr=kmalloc(sizeof(struct qdr), GFP_KERNEL | GFP_DMA);
if (!(irq_ptr->qdr)) {
kfree(irq_ptr);
free_page((unsigned long) irq_ptr);
QDIO_PRINT_ERR("kmalloc of irq_ptr->qdr failed!\n");
return -ENOMEM;
}
Expand Down

0 comments on commit 52d444c

Please sign in to comment.