diff options
author | Nathan Chancellor <[email protected]> | 2020-05-13 01:45:22 -0700 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2020-05-20 17:09:48 -0400 |
commit | 42c689f671233371f5c8c1685ab77bd66c274932 (patch) | |
tree | fb79469ecef2f3e10c79414d677b70dfdc84e9dd /lib/mpi/mpi-mul.c | |
parent | ac75b09fc62df441eee90fecfe9b2a6ca24976f2 (diff) |
dm zoned: Avoid 64-bit division error in dmz_fixup_devices
When building arm32 allyesconfig:
ld.lld: error: undefined symbol: __aeabi_uldivmod
>>> referenced by dm-zoned-target.c
>>> md/dm-zoned-target.o:(dmz_ctr) in archive drivers/built-in.a
dmz_fixup_devices uses DIV_ROUND_UP with variables of type sector_t. As
such, it should be using DIV_ROUND_UP_SECTOR_T, which handles this
automatically.
Fixes: 70978208ec91 ("dm zoned: metadata version 2")
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions