[PATCH 28/51] DMA-API: sound: fix dma mask handling in a lot of drivers
Mark Brown
broonie at kernel.org
Fri Sep 20 09:36:54 PDT 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.freedesktop.org/archives/dri-devel/attachments/20130920/4f16a3ab/attachment-0001.pgp>
More information about the dri-devel
mailing list