All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: regmap module_put usage.
Date: Mon, 05 Sep 2011 16:13:58 +0100	[thread overview]
Message-ID: <4E64E736.3060706@cam.ac.uk> (raw)
In-Reply-To: <20110905150040.GB3889@opensource.wolfsonmicro.com>

On 09/05/11 16:00, Mark Brown wrote:
> On Mon, Sep 05, 2011 at 01:55:15PM +0100, Jonathan Cameron wrote:
> 
>> Right now, calling regmap_exit() results in a module_put of the
>> regmap-spi module which never has a module_get and hence it's
>> module use count wraps around and all hell breaks loose?
> 
> Oh, that's a bit of bitrot from a last minute reorg.  I'll fix it.
> 
Thanks, I just scrapped the calls as any module will be dependent statically
on the relevant regmap-bus.c file anyway.

      reply	other threads:[~2011-09-05 15:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05 12:55 regmap module_put usage Jonathan Cameron
2011-09-05 15:00 ` Mark Brown
2011-09-05 15:13   ` Jonathan Cameron [this message]

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=4E64E736.3060706@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=broonie@opensource.wolfsonmicro.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.