[PATCH] power: don't disable all cast qualifier warnings

lihuisong (C) lihuisong at huawei.com
Tue Aug 13 10:53:48 CEST 2024


在 2024/8/13 5:56, Stephen Hemminger 写道:
> 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>
> ---
Acked-by: Huisong Li <lihuisong at huawei.com>


More information about the dev mailing list