Thread (87 messages) 87 messages, 20 authors, 2013-11-15

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

From: Mark Brown <broonie@kernel.org>
Date: 2013-09-20 16:36:54
Also in: alsa-devel, dri-devel, linux-arm-kernel, linux-crypto, linux-ide, linux-mmc, linux-omap, linux-samsung-soc, linux-scsi, linux-tegra, linuxppc-dev, netdev

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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help