diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-29 20:22:06 +0900 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-09-11 15:58:39 +0200 |
commit | 38eee2e82c57ced726827cae2bf09bd133c7b8be (patch) | |
tree | 988f28a547301f1727b535ed2265d596ff9688b3 /tools/perf/scripts/python/stackcollapse.py | |
parent | 12a632e60ae3d65c3348930c4e349f7ceb0606f3 (diff) |
mmc: sdhci: use lower/upper_32_bits() macros for DMA addresses
Currently, the DMA addresses are casted to (u64) for the upper 32bits
to avoid "right shift count >= width of type" warning.
<linux/kernel.h> provides macros to address this, and I like the macro
names are self-documenting.
I introduced a new helper, sdhci_set_adma_addr() to avoid the code
duplication.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions