Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332875
b: refs/heads/master
c: 921eead
h: refs/heads/master
i:
  332873: d3f576e
  332871: 4153d2a
v: v3
  • Loading branch information
Wei Yongjun authored and Vinod Koul committed Sep 18, 2012
1 parent 4c520a9 commit e28745a
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: 5557a419d44d063be665100086adf4721d41ea49
refs/heads/master: 921eeadbbdd7ffba16937a3b63e408c980c39db6
3 changes: 1 addition & 2 deletions trunk/drivers/dma/ioat/dma_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,11 @@ static struct ioat_ring_ent *ioat2_alloc_ring_ent(struct dma_chan *chan, gfp_t f
return NULL;
memset(hw, 0, sizeof(*hw));

desc = kmem_cache_alloc(ioat2_cache, flags);
desc = kmem_cache_zalloc(ioat2_cache, flags);
if (!desc) {
pci_pool_free(dma->dma_pool, hw, phys);
return NULL;
}
memset(desc, 0, sizeof(*desc));

dma_async_tx_descriptor_init(&desc->txd, chan);
desc->txd.tx_submit = ioat2_tx_submit_unlock;
Expand Down

0 comments on commit e28745a

Please sign in to comment.