From: Adrian Hunter Date: Tue, 4 Nov 2014 10:42:36 +0000 (+0200) Subject: mmc: sdhci: Fix ADMA page boundary warnings X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~28^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be78c6ad4d38ae555065b2778205d310300c8b0;p=pandora-kernel.git mmc: sdhci: Fix ADMA page boundary warnings Bytes are being copied from/to a single page. The intent of the warning is to warn if the page boundary is crossed. There are two problems. First, PAGE_MASK is mistaken for (PAGE_SIZE - 1). Secondly, instead of using the number of bytes to copy, the warning is using the maximum that that value could be. Fix both. Signed-off-by: Adrian Hunter Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed