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

From: Bryan O'Donoghue
Date: Tue Apr 23 2024 - 12:49:23 EST


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@xxxxxxxxxx>

---
bod