diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-02-11 18:11:04 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-02-18 00:08:41 +0100 |
commit | e83b366487b5582274374f8226e489cb214ae5a6 (patch) | |
tree | 2678fe6ad8933a6bc4440d1a2d91e4eac9ba9e4d /drivers/scsi/eata_generic.h | |
parent | ARM: 7955/1: spinlock: ensure we have a compiler barrier before sev (diff) | |
download | linux-e83b366487b5582274374f8226e489cb214ae5a6.tar.xz linux-e83b366487b5582274374f8226e489cb214ae5a6.zip |
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: 8e0cb8a1f6ac ("ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations")
Fixes: 7d35496dd982 ("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>
Diffstat (limited to 'drivers/scsi/eata_generic.h')
0 files changed, 0 insertions, 0 deletions