commit | f5b2552b4ebbeadcadde1532d7bbd3f850719046 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Apr 13 22:06:58 2012 +0300 |
committer | Tejun Heo <tj@kernel.org> | Mon Apr 16 14:54:59 2012 -0700 |
tree | 89bbf52668883f0a4c65ed10bd113a5cc4d75721 | |
parent | d3283fb45c06dfd7b1a36da8e6ff39d313f0600c [diff] |
workqueue: change BUG_ON() to WARN_ON() 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> Signed-off-by: Tejun Heo <tj@kernel.org>