From: Russell King Date: Tue, 11 Feb 2014 17:11:04 +0000 (+0000) Subject: Fix uses of dma_max_pfn() when converting to a limiting address X-Git-Tag: v3.14-rc4~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83b366487b5582274374f8226e489cb214ae5a6;p=pandora-kernel.git 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 Reviewed-by: Ulf Hansson Signed-off-by: Russell King --- Reading git-diff-tree failed