Messages in this thread | | | Date | Mon, 16 Apr 2012 14:57:55 -0700 | From | Tejun Heo <> | Subject | Re: [patch v2] workqueue: change BUG_ON() to WARN_ON() |
| |
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
| |