Thread (2 messages) 2 messages, 2 authors, 2017-04-17

Why these functions are empty?

From: wiktoria.lewicka <hidden>
Date: 2017-04-14 12:49:33

Hello!
I looked at code in include/linux/module.h and I found empty functions:

static inline void print_modules(void)
{
}

static inline unsigned long module_kallsyms_lookup_name(const char *name)
{
	return 0;
}

static inline int lookup_module_symbol_name(unsigned long addr, char *symna=
me)
{
	return -ERANGE;
}

And why these function haven`t implementation:
static inline int register_module_notifier(struct notifier_block *nb)
{
	/* no events will happen anyway, so this can always succeed */
	return 0;
}

static inline int unregister_module_notifier(struct notifier_block *nb)
{
	return 0;
}

Is module notifier doesn`t exists?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help