[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220616193313.GE20633@twin.jikos.cz>
Date: Thu, 16 Jun 2022 21:33:13 +0200
From: David Sterba <dsterba@...e.cz>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Ioannis Angelakopoulos <iangelak@...com>, Chris Mason <clm@...com>,
Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: Fix 64-bit divisions in btrfs_commit_stats_show()
on 32-bit
On Thu, Jun 16, 2022 at 10:08:14AM +0200, Geert Uytterhoeven wrote:
> On 32-bit (e.g. m68k):
>
> ERROR: modpost: "__udivdi3" [fs/btrfs/btrfs.ko] undefined!
>
> Fix this by using div_u64() instead.
>
> Reported-by: noreply@...erman.id.au
> Fixes: e665ec2ab6e1ae36 ("btrfs: Expose the BTRFS commit stats through sysfs")
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Folded to the patch, thanks.
Powered by blists - more mailing lists