On Wed, Aug 20, 2025 at 10:30:31AM +0800, Nai-Chen Cheng wrote: > In the error path where ret < 0, the ternary operator "ret < 0 ? ret : > -EIO" will always evaluate to ret since ret is guaranteed to be > negative. Simplify by directly returning ret. > > Found by Coverity(CID 1649044).
Acked-by: Joey Pabalinas <joeypabali...@gmail.com> -- Cheers, Joey Pabalinas
signature.asc
Description: PGP signature