From: "wiktoria.lewicka" <wiktoria.lewicka@vp.pl>
To: "linux-modules@vger.kernel.org" <linux-modules@vger.kernel.org>
Subject: Why these functions are empty?
Date: Fri, 14 Apr 2017 14:40:57 +0200 [thread overview]
Message-ID: <31409372-d49fd76ae2d3ad793928c24c2388160b@pmq1v.m5r2.onet> (raw)
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?
next reply other threads:[~2017-04-14 12:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-14 12:40 wiktoria.lewicka [this message]
2017-04-17 14:29 ` Why these functions are empty? Yauheni Kaliuta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31409372-d49fd76ae2d3ad793928c24c2388160b@pmq1v.m5r2.onet \
--to=wiktoria.lewicka@vp.pl \
--cc=linux-modules@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).