diff options
author | Daniel Golle <daniel@makrotopia.org> | 2024-02-29 03:47:24 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-03-10 22:14:28 +0100 |
commit | b8a77b9a5f9c2ba313f2beef8440b6f9f69768e7 (patch) | |
tree | 0e4e176f0cee3351ca2eebc37e5188fdc7dbfb3f /mm/shuffle.c | |
parent | 3ce485803da1b79b2692b6d0c2792829292ad838 (diff) |
mtd: ubi: fix NVMEM over UBI volumes on 32-bit systems
A compiler warning related to sizeof(int) != 8 when calling do_div()
is triggered when building on 32-bit platforms.
Address this by using integer types having a well-defined size.
Fixes: 3ce485803da1 ("mtd: ubi: provide NVMEM layer over UBI volumes")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'mm/shuffle.c')
0 files changed, 0 insertions, 0 deletions