[PATCH v2] powerpc/lockdep: fix a false positive warning
Ingo Molnar
mingo at kernel.org
Sun Sep 8 18:32:58 AEST 2019
* Qian Cai <cai at lca.pw> wrote:
> I thought about making it a bool in the first place, but since all
> other similar helpers (arch_is_kernel_initmem_freed(),
> arch_is_kernel_text(), arch_is_kernel_data() etc) could be bool too but
> are not, I kept arch_is_bss_hole() just to be “int” for consistent.
>
> Although then there is is_kernel_rodata() which is bool. I suppose I’ll
> change arch_is_bss_hole() to bool, and then could have a follow-up
> patch to covert all similar helpers to return boo instead.
Sounds good to me.
Thanks,
Ingo
More information about the Linuxppc-dev
mailing list