Skip to content

Commit 60da364

Browse files
seehearfeelmcgrof
authored andcommitted
module: Make is_mapping_symbol() return bool
The return value of is_mapping_symbol() is true or false, so change its type to reflect that. Suggested-by: Xi Zhang <zhangxi@kylinos.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent 3737df7 commit 60da364

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/module_symbol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define _LINUX_MODULE_SYMBOL_H
44

55
/* This ignores the intensely annoying "mapping symbols" found in ELF files. */
6-
static inline int is_mapping_symbol(const char *str)
6+
static inline bool is_mapping_symbol(const char *str)
77
{
88
if (str[0] == '.' && str[1] == 'L')
99
return true;

0 commit comments

Comments
 (0)