Re: [PATCH next] bcachefs: Fix bitwise math on 32 bit systems

From: Kent Overstreet
Date: Thu Oct 10 2024 - 17:52:33 EST


On Thu, Oct 10, 2024 at 09:35:53PM GMT, Dan Carpenter wrote:
> The ~0UL needs to be ~0ULL for this mask and shift to work correctly on
> 32 bit systems.
>
> Fixes: bad8626ae088 ("bcachefs: CONFIG_BCACHEFS_INJECT_TRANSACTION_RESTARTS")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Thanks! Applied.