[PATCH 26/35] media: venus: Refator return path

Bryan O'Donoghue bryan.odonoghue at linaro.org
Tue Apr 23 09:49:10 PDT 2024


On 15/04/2024 20:34, Ricardo Ribalda wrote:
> This is a nop, but let cocci now that this is not a good candidate for

*know

> min()

But I think you should change the commit log ->

"Rewrite ternary return assignment to mitigate the following cocci WARNING."

> drivers/media/platform/qcom/venus/vdec.c:672:12-13: WARNING opportunity for min()
> drivers/media/platform/qcom/venus/vdec.c:650:12-13: WARNING opportunity for min()

then

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>

---
bod



More information about the linux-arm-kernel mailing list