mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Neakums <sneakums@zork.net>
To: Davide Rossetti <davide.rossetti@roma1.infn.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: rmmod while module is in use
Date: Thu, 17 Feb 2005 13:11:00 +0000	[thread overview]
Message-ID: <6uacq35o2j.fsf@zork.zork.net> (raw)
In-Reply-To: <4214926B.3030707@roma1.infn.it> (Davide Rossetti's message of "Thu, 17 Feb 2005 13:47:39 +0100")

Davide Rossetti <davide.rossetti@roma1.infn.it> writes:

> maybe RTFM...
> a module:
> - char device driver for..
> - a PCI device

Setting the 'owner' field of your char device's file_operations
structure to THIS_MODULE should be sufficient to enable the kernel to
manage the reference count for you.  This is the "magic" referred to
in linux-os's reply.

  parent reply	other threads:[~2005-02-17 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 12:47 Davide Rossetti
2005-02-17 13:04 ` linux-os
2005-02-17 13:11 ` Sean Neakums [this message]
2005-02-17 14:40 ` Zwane Mwaikambo
2005-02-17 14:48   ` Zwane Mwaikambo

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=6uacq35o2j.fsf@zork.zork.net \
    --to=sneakums@zork.net \
    --cc=davide.rossetti@roma1.infn.it \
    --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

all inboxes | Powered by JetHome®