Re: [PATCH] staging: media: meson: vdec: use min() for comparison and assignment

From: Neil Armstrong
Date: Tue Nov 08 2022 - 03:00:15 EST


On 07/11/2022 20:11, Deepak R Varma wrote:
Use of standard min() helper macro is preferred over using ternary
operator for logical evaluation and value assignment. This issue is
identified by coccicheck using the minmax.cocci file.

Signed-off-by: Deepak R Varma <drv@xxxxxxxxx>
---
drivers/staging/media/meson/vdec/codec_vp9.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

<snip>

Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>