[PATCH 28/51] DMA-API: sound: fix dma mask handling in a lot of drivers

Mark Brown broonie at kernel.org
Fri Sep 20 16:36:54 UTC 2013


On Thu, Sep 19, 2013 at 10:53:02PM +0100, Russell King wrote:
> This code sequence is unsafe in modules:
> 
> static u64 mask = DMA_BIT_MASK(something);
> ...
> 	if (!dev->dma_mask)
> 		dev->dma_mask = &mask;

Acked-by: Mark Brown <broonie at linaro.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20130920/4f16a3ab/attachment.asc>


More information about the devel mailing list