summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2024-08-30 04:17:52 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-09-06 12:56:54 +0300
commit9a5e69c030608aec545201398be626102272bf72 (patch)
tree1b99206b77f771e927df3f1f9b4dfa4b0e8d03ea /rust/helpers/build_bug.c
parent7adc7193537470839ec66ecbdb54f4dc9092e6f6 (diff)
downloadlinux-9a5e69c030608aec545201398be626102272bf72.tar.xz
media: atomisp: use clamp() in compute_coring()
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao <lizetao1@huawei.com> Link: https://lore.kernel.org/r/20240830011752.603433-3-lizetao1@huawei.com Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions