[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <64cbcad7-0b71-3bbc-a6d2-08f1cefdfa5e@linaro.org>
Date: Tue, 8 Nov 2022 09:00:02 +0100
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Deepak R Varma <drv@...lo.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
linux-media@...r.kernel.org, linux-amlogic@...ts.infradead.org,
linux-staging@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: media: meson: vdec: use min() for comparison and
assignment
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@...lo.com>
> ---
> drivers/staging/media/meson/vdec/codec_vp9.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
<snip>
Reviewed-by: Neil Armstrong <neil.armstrong@...aro.org>
Powered by blists - more mailing lists