diff options
author | Roger Quadros <rogerq@kernel.org> | 2022-10-11 14:50:01 +0300 |
---|---|---|
committer | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2022-12-10 11:11:25 +0100 |
commit | 7e4a494c5f676c7a16a28ac36b9fdbd84022a400 (patch) | |
tree | 2675bcb99aa9b878be8a72909ba5eb5a25d5c7f5 /test/py/tests/test_source.py | |
parent | 472229fcfc84e850b78c39f86638c194f78ab89d (diff) |
mtd: rawnand: omap_gpmc: Fix build warning on 64-bit platforms
Pointer size cannot be assumed to be 32-bit, so use
use uintptr_t instead of uint32_t.
Fixes the below build warning on 64-bit builds.
drivers/mtd/nand/raw/omap_gpmc.c:439:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
head = ((uint32_t) buf) % 4;
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221011115012.6181-4-rogerq@kernel.org
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Diffstat (limited to 'test/py/tests/test_source.py')
0 files changed, 0 insertions, 0 deletions