lkml.org 
[lkml]   [2019]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2019-09-08 10:34    [W:0.069 / U:1.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site