Re: [PATCH RESEND v2 1/2] ucount: Fix atomic_long_inc_below() argument type
From: Andrew Morton
Date: Mon Jul 21 2025 - 18:43:34 EST
On Mon, 21 Jul 2025 19:45:57 +0200 Uros Bizjak <ubizjak@xxxxxxxxx> wrote:
> The type of u argument of atomic_long_inc_below() should be long
> to avoid unwanted truncation to int.
>
> Fixes: f9c82a4ea89c ("Increase size of ucounts to atomic_long_t")
Please (always!) provide a description of the userspace-visible effects
of the bug. That way I (and others) can decide whether the fix should
be backported. And people will be able to determine whether this patch
may fix problems which they are observing. Thanks.