linux-stable-rt/drivers/base
James Bottomley e88a0c2ca8 drivers: fix dma_get_required_mask
There's a bug in the current implementation of dma_get_required_mask()
where it ands the returned mask with the current device mask.  This
rather defeats the purpose if you're using the call to determine what
your mask should be (since you will at that time have the default
DMA_32BIT_MASK).  This bug results in any driver that uses this function
*always* getting a 32 bit mask, which is wrong.

Fix by removing the and with dev->dma_mask.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-03-10 16:33:33 -07:00
..
power PM: fix new mutex-locking bug in the PM core 2008-03-04 14:47:05 -08:00
Kconfig
Makefile
attribute_container.c
base.h
bus.c Driver core: Fix error handling in bus_add_driver(). 2008-02-21 15:27:07 -08:00
class.c
core.c Driver core: Fix cleanup when failing device_add(). 2008-03-04 14:47:05 -08:00
cpu.c
dd.c
devres.c
dma-mapping.c
driver.c driver-core: fix kernel-doc function parameters 2008-02-21 15:27:07 -08:00
firmware.c
firmware_class.c Driver core: Revert "Fix Firmware class name collision" 2008-02-07 11:31:46 -08:00
hypervisor.c
init.c
isa.c
map.c
memory.c
module.c
node.c
platform.c drivers: fix dma_get_required_mask 2008-03-10 16:33:33 -07:00
sys.c sysdev: fix problem with sysdev_class being re-registered 2008-03-10 16:33:32 -07:00
topology.c
transport_class.c docbook: fix kernel-api source files 2008-03-03 10:47:14 -08:00