RE: [PATCH v11 15/16] eal: use standard ternary operator instead of GCC extension

2023-09-24 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Friday, 11 August 2023 21.21 > > Use standard ternary operator instead of gcc extension. There is > no concern of side-effects for this evaluation so allow the code > to be portable. > > While here update the condition to compar

[PATCH v11 15/16] eal: use standard ternary operator instead of GCC extension

2023-08-11 Thread Tyler Retzlaff
Use standard ternary operator instead of gcc extension. There is no concern of side-effects for this evaluation so allow the code to be portable. While here update the condition to compare default_log_stream directly against NULL. Signed-off-by: Tyler Retzlaff --- lib/eal/common/eal_common_hexd