diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2014-11-04 12:42:36 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-10 12:40:49 +0100 |
commit | 8be78c6ad4d38ae555065b2778205d310300c8b0 (patch) | |
tree | 7270360ed1b42e5d035981ab54a197015d3c74e9 /Documentation/blockdev | |
parent | c09df940ebe0167dcf13d52ea122c99b9bb8365a (diff) |
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 <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/blockdev')
0 files changed, 0 insertions, 0 deletions