All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: jt@hpl.hp.com,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>,
	Jeff Garzik <jgarzik@mandrakesoft.com>,
	dahinds@users.sourceforge.net, davem@vger.kernel.org
Subject: Re: Status new-modules + 802.11b/IrDA
Date: Wed, 11 Dec 2002 12:40:36 -0500	[thread overview]
Message-ID: <20021211174036.GA2612@gtf.org> (raw)
In-Reply-To: <20021211093007.B58402C093@lists.samba.org>

On Wed, Dec 11, 2002 at 07:34:53PM +1100, Rusty Russell wrote:
> In message <20021211010512.GA5853@bougret.hpl.hp.com> you write:
> > 	o af_irda, irda-usb & irtty-sir are "unsafe". I tracked that
> > down to the use of MOD_INC_USE_COUNT. The header file module.h give
> > hints on how I should convert that to the new world (use
> > try_module_get), however your FAQ seems to say something else (just
> > remove them, they are useless). I'm quite confused, because those
> > MOD_INC_USE_COUNT have a definite purpose... I would appreciate more
> > guidance.
> 
> Looking at these files:
> 
> idra-usb.c: add "netdev->owner = THIS_MODULE;" and get rid of the
> 	MOD_INC_USE_COUNT.

	Incorrect but close:  one uses SET_MODULE_OWNER(netdev) for this.



  reply	other threads:[~2002-12-11 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11  1:05 Status new-modules + 802.11b/IrDA Jean Tourrilhes
2002-12-11  8:34 ` Rusty Russell
2002-12-11 17:40   ` Jeff Garzik [this message]
2002-12-11 22:41     ` Rusty Russell
2002-12-11 17:43   ` Jean Tourrilhes
2002-12-11 22:46     ` Rusty Russell
2002-12-12  0:50       ` Andrew Morton
2002-12-12 21:51       ` Benjamin Reed
2002-12-13  0:22         ` Jean Tourrilhes

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=20021211174036.GA2612@gtf.org \
    --to=jgarzik@pobox.com \
    --cc=dahinds@users.sourceforge.net \
    --cc=davem@vger.kernel.org \
    --cc=jgarzik@mandrakesoft.com \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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.