Re: [PATCH v2] powerpc/lockdep: fix a false positive warning

From: Ingo Molnar
Date: Sun Sep 08 2019 - 04:33:12 EST



* Qian Cai <cai@xxxxxx> 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