Messages in this thread | | | Date | Sun, 8 Sep 2019 10:32:58 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH v2] powerpc/lockdep: fix a false positive warning |
| |
* Qian Cai <cai@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
| |