aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy/git:/ssh:
diff options
context:
space:
mode:
authorYufen Yu <yuyufen@huawei.com>2020-07-22 23:29:05 -0400
committerSong Liu <songliubraving@fb.com>2020-07-22 22:49:46 -0700
commit83c3e5e17b5e3057ac304383a46e3c485d00ffed (patch)
treeee6142ddd72d3cc143db9f8f594d13b2d7e66012 /include/linux/phy/git:/ssh:
parentMerge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-5.9/drivers (diff)
md/raid5: use do_div() for 64 bit divisions in raid5_sync_request
We get compilation error on 32-bit architectures (e.g. m68k), as: ERROR: modpost: "__udivdi3" [drivers/md/raid456.ko] undefined! Since 'sync_blocks' is defined as u64, use do_div() to fix this error. Fixes: c911c46c017c ("md/raid456: convert macro STRIPE_* to RAID5_STRIPE_*") Signed-off-by: Yufen Yu <yuyufen@huawei.com> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions