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

Mark Brown broonie at kernel.org
Fri Sep 20 12:36:54 EDT 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://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130920/4f16a3ab/attachment.sig>


More information about the linux-arm-kernel mailing list