summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-26 10:49:27 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-10-04 17:32:41 +0200
commitc8454a41da59d51fbcc5743f8c71a03b096a770f (patch)
tree4f2d53fdd912d000718e8aba86c57051f15ad40a /rust/kernel/alloc/allocator
parentb116de709c6b634931de69ded501bc36a5e69ddf (diff)
media: imagination: Fix value clamping in calculate_qp_tables
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@vger.kernel.org Fixes: a1e294045885 ("media: imagination: Add E5010 JPEG Encoder driver") Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions