From: Peter Zijlstra <peterz@infradead.org>
To: Arend van Spriel <arend@broadcom.com>
Cc: Ingo Molnar <mingo@redhat.com>, Tejun Heo <tj@kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: lockdep info message
Date: Fri, 26 Oct 2012 13:25:34 +0200 [thread overview]
Message-ID: <1351250734.16863.26.camel@twins> (raw)
In-Reply-To: <508A62DC.50805@broadcom.com>
On Fri, 2012-10-26 at 12:15 +0200, Arend van Spriel wrote:
> Hi Peter and/or Ingo,
>
> I am working on a driver (brcmfmac) and when unloading it or unplugging
> the device I get this info message (see below) upon calling
> cancel_work_sync(). Just wondering if there is something I need to do in
> the driver or should it be done in workqueue code.
Your driver, as that's the one allocating the struct work_struct thingy.
You've either failed to use INIT_WORK() or need to use
INIT_WORK_ONSTACK() if that's appropriate. It looks like you could have
used DECLARE*_WORK inside a function or something similar.
Anyway, without the driver code present I can't really say much more.
next prev parent reply other threads:[~2012-10-26 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 10:15 Arend van Spriel
2012-10-26 11:25 ` Peter Zijlstra [this message]
2012-10-26 13:19 ` Arend van Spriel
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=1351250734.16863.26.camel@twins \
--to=peterz@infradead.org \
--cc=arend@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tj@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
Powered by JetHome