[PATCH v5] telemetry: remove non-portable array initialization syntax

Thomas Monjalon thomas at monjalon.net
Wed May 24 22:54:10 CEST 2023


05/04/2023 20:52, Tyler Retzlaff:
> Use of ranges in designated initialization are a non-standard gcc
> extension.
> 
> Only initialize '_' and '/' elements of the array and filter tests
> of characters through name with standard C isalnum before checking
> the array.
> 
> Suggested-by: Konstantin Ananyev <konstantin.v.ananyev at yandex.ru>
> Suggested-by: Bruce Richardson <bruce.richardson at intel.com>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks.





More information about the dev mailing list