[PATCH v11 14/16] log: use standard ternary operator instead of GCC extension

Stephen Hemminger stephen at networkplumber.org
Mon Sep 25 17:09:37 CEST 2023


On Mon, 25 Sep 2023 08:24:58 +0200
Morten Brørup <mb at smartsharesystems.com> wrote:

> I didn't know this GCC extension.
> 
> Someone please consider disallowing this in checkpatches.

We don't need to make checkpatch more complex.
When MSVC is in build system, it will catch it 


More information about the dev mailing list