diff options
| author | Guo Zhengkui <guozhengkui@vivo.com> | 2022-05-18 15:08:36 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-20 12:30:31 +0300 |
| commit | 5fe1d61a98e29bb2128d77355d2122826b881cb8 (patch) | |
| tree | 24e308581265370127bcbdaa31aff0888425105b /include/uapi | |
| parent | db9edaaff137699d4bc5dc3328afa748fb8f5c93 (diff) | |
| download | linux-5fe1d61a98e29bb2128d77355d2122826b881cb8.tar.xz | |
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions
