Re: [PATCH] media: imagination: Fix value clamping in calculate_qp_tables

From: Thorsten Blum

Date: Fri Dec 19 2025 - 16:31:40 EST


On 2. Dec 2025, at 13:45, Thorsten Blum wrote:
> The local variable 'val' was never clamped to 1 or 255 because the
> return value of clamp() was not used. Fix this by assigning the clamped
> value back to 'val'.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: a1e294045885 ("media: imagination: Add E5010 JPEG Encoder driver")
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> [...]

Hello, the media CI robot complained to me privately (not to the list)
with the following error:

ERROR: Commit a1e2940458853d00c178c842c889e4ae3ef5eaec NOT found in
the stable tree, but stable@xxxxxxxxxxxxxxx is in Cc:

However, the Fixes: tag references the commit hash in master, but the
commit has a different hash in the stable branches. This is my first
time running into such an issue and I'm not sure what to do about it?

Thanks,
Thorsten