aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorGuo Zhengkui <guozhengkui@vivo.com>2022-05-18 13:08:36 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:31 +0100
commit5fe1d61a98e29bb2128d77355d2122826b881cb8 (patch)
tree24e308581265370127bcbdaa31aff0888425105b /drivers/media/v4l2-core/v4l2-ioctl.c
parentdb9edaaff137699d4bc5dc3328afa748fb8f5c93 (diff)
media: platform: samsung: s5p-jpeg: replace ternary operator with max()
Fix the following coccicheck warning: drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c:1712:24-25: WARNING opportunity for max() max() macro is defined in include/linux/minmax.h. It avoids multiple evaluations of the arguments when non-constant and performs strict type-checking. Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions