mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erik Hugne <erik.hugne@ericsson.com>
To: linux-kernel@vger.kernel.org
Subject: kobject/kset symbols not exported
Date: Mon, 12 Dec 2011 17:27:36 +0100	[thread overview]
Message-ID: <4EE62B78.8090608@ericsson.com> (raw)
In-Reply-To: <4EE6237A.9010901@ericsson.com>

The top level module_kset, defined at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/linux/module.h;h=3cb7839a60b96ffc6e4fe9b28d0ddf491275b2f6;hb=HEAD#l630

Does not have a symbol exported at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=kernel/params.c;h=65aae11eb93f1fab5a4673ca9e9d4df9f2582e8e;hb=HEAD#l908

The same applies to two kobject related functions:

extern struct kobject *kset_find_obj(struct kset *, const char *);
extern struct kobject *kset_find_obj_hinted(struct kset *, const char *,
struct kobject *);

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/linux/kobject.h;h=ad81e1c51487def091ffea196d36c1ee005f7698;hb=HEAD#l193

This makes them inaccessible to modules. Is this intentional?

//E

           reply	other threads:[~2011-12-12 16:28 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4EE6237A.9010901@ericsson.com>]

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=4EE62B78.8090608@ericsson.com \
    --to=erik.hugne@ericsson.com \
    --cc=linux-kernel@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

Powered by JetHome