31 Jul
2013
31 Jul
'13
1:23 p.m.
On Wed, Jul 31, 2013 at 10:15:18AM +0100, Dimitris Papastamos wrote:
xfer = kzalloc(sizeof(*xfer), GFP_KERNEL | GFP_DMA);
if (!xfer) {
dev_err(codec->dev, "Failed to allocate xfer\n");
ret = -ENOMEM;
goto abort1;
}
Why is this being allocated with GFP_DMA? It's an internal data structure, it's not going to be DMAed from.
Please also provide a changelog, a link to some address on the web isn't a useful description.