Messages in this thread | | | Date | Wed, 11 Dec 2002 12:40:36 -0500 | From | Jeff Garzik <> | Subject | Re: Status new-modules + 802.11b/IrDA |
| |
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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |