OpenCloudOS-Kernel/drivers/mmc/card
Russell King e83b366487 Fix uses of dma_max_pfn() when converting to a limiting address
We must use a 64-bit for this, otherwise overflowed bits get lost, and
that can result in a lower than intended value set.

Fixes: 8e0cb8a1f6 ("ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations")
Fixes: 7d35496dd9 ("ARM: 7796/1: scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations")
Tested-Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-02-17 23:08:41 +00:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
block.c mmc: fix host release issue after discard operation 2014-01-13 12:48:10 -05:00
mmc_test.c mmc: mmc_test: replace strict_strtol() with kstrtol_from_user() 2013-08-24 23:19:05 -04:00
queue.c Fix uses of dma_max_pfn() when converting to a limiting address 2014-02-17 23:08:41 +00:00
queue.h mmc: block: fix the host's claim-release in special request 2013-03-22 13:29:36 -04:00
sdio_uart.c TTY: add tty_port_tty_hangup helper 2013-03-18 16:24:29 -07:00