All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch v2] workqueue: change BUG_ON() to WARN_ON()
Date: Mon, 16 Apr 2012 14:57:55 -0700	[thread overview]
Message-ID: <20120416215755.GA12421@google.com> (raw)
In-Reply-To: <20120413190658.GA18505@elgon.mountain>

On Fri, Apr 13, 2012 at 10:06:58PM +0300, Dan Carpenter wrote:
> This BUG_ON() can be triggered if you call schedule_work() before
> calling INIT_WORK().  It is a bug definitely, but it's nicer to just
> print a stack trace and return.
> 
> Reported-by: Matt Renzelmann <mjr@cs.wisc.edu>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied to wq/for-3.5.  Thanks.

-- 
tejun

      reply	other threads:[~2012-04-16 21:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-13 14:35 [RFC] workqueue: do a sanity check on new work Dan Carpenter
2012-04-13 16:39 ` Tejun Heo
2012-04-13 18:58   ` Dan Carpenter
2012-04-13 19:06   ` [patch v2] workqueue: change BUG_ON() to WARN_ON() Dan Carpenter
2012-04-16 21:57     ` Tejun Heo [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=20120416215755.GA12421@google.com \
    --to=tj@kernel.org \
    --cc=dan.carpenter@oracle.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.