diff options
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r-- | scripts/mod/modpost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index 1392afec118c..69baf014da4f 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -162,12 +162,12 @@ static inline unsigned int get_secindex(const struct elf_info *info, * * Internal symbols created by tools should be ignored by modpost. */ -static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) +static inline bool is_valid_name(struct elf_info *elf, Elf_Sym *sym) { const char *name = elf->strtab + sym->st_name; if (!name || !strlen(name)) - return 0; + return false; return !is_mapping_symbol(name); } |