[PATCH] telemetry: make socket handler typedef private
Thomas Monjalon
thomas at monjalon.net
Tue Nov 11 19:14:30 CET 2025
07/11/2025 10:32, Bruce Richardson:
> The socket handler typedef, just called "handler" does not belong in the
> public namespace, especially since it is unprefixed. Rename to
> "telemetry_sock_handler" and move to internal header.
>
> Doing so also clears shadowing warnings in dmadev library, when it is
> built with -Wshadow.
>
> Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality")
> Cc: stable at dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>
>
> ---
> NOTE: This patch was originally submitted as part of series[1], but I
> think this is a serious enough fix to consider taking into 25.11.
Applied, thanks.
More information about the dev
mailing list