diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-09-22 12:46:46 +0900 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-09-22 09:04:34 +0200 |
commit | 5f2baae00542b2203e6d0fa77890f64ff741aaf3 (patch) | |
tree | 6649b4f299ca0736a727614df79a81546453dd67 /tools/perf/scripts/python | |
parent | 8582a03e028f666d15acc651e0491c02941d13e7 (diff) |
mtd: nand: denali: use upper/lower_32_bits() macro for clean-up
I used (uint64_t) cast to avoid "right shift count >= width of type"
warning. <linux/kernel.h> provides nice helpers to cater to it.
The code will be cleaner, and easier to understand.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions