The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Michal Jaegermann <michal@harddata.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: A "new driver model" and EXPORT_SYMBOL_GPL question
Date: Sun, 3 Jul 2005 22:44:41 -0700	[thread overview]
Message-ID: <20050704054441.GA19936@kroah.com> (raw)
In-Reply-To: <20050703171202.A7210@mail.harddata.com>

On Sun, Jul 03, 2005 at 05:12:02PM -0600, Michal Jaegermann wrote:
> It dawned on me only now that a "new driver model" introduced
> in patches from GKH export symbols like that:
> 
> EXPORT_SYMBOL_GPL(class_create);
> EXPORT_SYMBOL_GPL(class_destroy);
> 
> and so on.  The problem is that corresponding old symbols, which
> are still present in 2.6.12, were exported
> 
> EXPORT_SYMBOL(class_simple_create);
> EXPORT_SYMBOL(class_simple_destroy);
> ....
> 
> This creates a problem.  There exist out-of-tree drivers which are
> using those symbols

Where?  What drivers?

> and, even if sources are available, are not
> licensed GPL for whatever reasons.  No, I am not the author of any
> of those so I cannot do very much about re-licensing.  As an effect
> a conversion to a "new driver model", even if simple, does not work.
> In particular I bumped into that with Myrinet card drivers.

Then take it up with them.  Users of those symbols have had many months
advance notice that this was going to happen.

> Was a decision to use EXPORT_SYMBOL_GPL deliberate and if yes then
> what considerations dictated it, other then the patch author wrote
> it that way, and what drivers in question are supposed to use when
> this change will show up in the mainline?  It looks that 2.6.13
> will do this.

Please see the archives for the answers to these questions.

thanks,

greg k-h

  reply	other threads:[~2005-07-04  5:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-03 23:12 A "new driver model" and EXPORT_SYMBOL_GPL question Michal Jaegermann
2005-07-04  5:44 ` Greg KH [this message]
2005-07-04 16:00   ` Michal Jaegermann
2005-07-05 21:50   ` Zan Lynx
2005-07-05 21:57     ` Greg KH
2005-07-06  4:37       ` Michal Jaegermann
2005-07-06  5:26         ` Greg KH
2005-07-05 11:09 ` Richard B. Johnson
2005-07-05 12:06   ` Lars Marowsky-Bree

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=20050704054441.GA19936@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal@harddata.com \
    /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