[alsa-devel] [PATCH] ASoC: wm0010: Fix resource leak
    Mark Brown 
    broonie at kernel.org
       
    Wed Jul 31 13:23:31 CEST 2013
    
    
  
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130731/13eb64c4/attachment.sig>
    
    
More information about the Alsa-devel
mailing list