All of lore.kernel.org
 help / color / mirror / Atom feed
From: R.E.Wolff@BitWizard.nl (Rogier Wolff)
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: Rogier Wolff <R.E.Wolff@BitWizard.nl>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: EXPORT_NO_SYMBOLS vs. (null) ?
Date: Sat, 18 Nov 2000 18:50:00 +0100 (MET)	[thread overview]
Message-ID: <200011181750.SAA14559@cave.bitwizard.nl> (raw)
In-Reply-To: <3A16C01C.8421220A@mandrakesoft.com> from Jeff Garzik at "Nov 18, 2000 12:45:00 pm"

Jeff Garzik wrote:
> Rogier Wolff wrote:
> > 
> > Alan Cox wrote:
> > > > What is the difference between a module that exports no symbols and
> > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks
> > > > EXPORT_NO_SYMBOLS?
> > > >
> > > > Alan once upbraided me for assuming they were the same :)
> > >
> > > EXPORT_NO_SYMBOLS             -       nothing exported
> > > MODULE_foo                    -       export specific symbol
> > >
> > > none of the above, export all globals but without modvers
> >                                 ^^^^^^^ and statics!!!!
> > 
> > I consider that a bug, but...
> 
> eh?  Can you give an example of this?  This should definitely -not- be
> the case.

Compile a kernel, marking "sx" and "riscom8" as modules. 

Install, modprobe sx, and voila, you'll pull in the riscom because
its "block_til_ready" static was found to satisfy the block_til_ready
from generic_serial. 

We're working on renaming the one in generic_serial to
"gs_block_til_ready", but haven't checked yet if the patch got
applied. So you may have to use a "month-old" kernel for this test.

				Roger. 

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots. 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-18 18:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-18  5:15 EXPORT_NO_SYMBOLS vs. (null) ? Jeff Garzik
2000-11-18  7:40 ` Keith Owens
2000-11-18 17:12 ` Alan Cox
2000-11-18 17:40   ` Rogier Wolff
2000-11-18 17:45     ` Jeff Garzik
2000-11-18 17:50       ` Rogier Wolff [this message]
2000-11-18 18:44         ` Jeff Garzik
2000-11-19  8:12         ` Keith Owens

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=200011181750.SAA14559@cave.bitwizard.nl \
    --to=r.e.wolff@bitwizard.nl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jgarzik@mandrakesoft.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.