Re: [PATCH] md/raid5: use do_div() for 64 bit divisions
From: Song Liu <song@kernel.org>
Date: 2020-07-23 05:54:37
From: Song Liu <song@kernel.org>
Date: 2020-07-23 05:54:37
On Wed, Jul 22, 2020 at 8:28 PM Yufen Yu [off-list ref] wrote:
On 32-bit architectures (e.g. m68k): ERROR: modpost: "__udivdi3" [drivers/md/raid456.ko] undefined! Since 'sync_blocks' is defined as 64bit, we should use do_div() to fix this error. Signed-off-by: Yufen Yu <redacted>
I modified the commit log and applied it to md-next. In the future, please add Fixes tag for bug fix. Thanks, Song