[PATCH] bus/fslmc: fix warning in device scan
David Marchand
david.marchand at redhat.com
Fri Nov 28 09:39:03 CET 2025
On Tue, 25 Nov 2025 at 15:46, Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> With latest glibc (Fedora Rawhide):
> ../drivers/bus/fslmc/fslmc_bus.c: In function ‘rte_fslmc_parse’:
> ../drivers/bus/fslmc/fslmc_bus.c:298:15: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
> 298 | t_ptr = strchr(sep, '.');
> | ^
> Fixes: e67a61614d0b ("bus/fslmc: support device iteration")
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
This build warning can be seen in OBS builds.
Acked-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list