[PATCH] power: don't disable all cast qualifier warnings
Thomas Monjalon
thomas at monjalon.net
Thu Oct 17 19:50:26 CEST 2024
13/08/2024 08:11, Morten Brørup:
> > From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> >
> > Only in one place does the power library need un-constify a pointer
> > and this can be done by casting to uintptr_t first. Better, to have
> > the warning enabled across the rest of the code.
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> > ---
>
> Agree; disabling warnings should be avoided.
>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Huisong Li <lihuisong at huawei.com>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Applied, thanks
More information about the dev
mailing list