提交 3edcfb29 编写于 作者: K Krzysztof Hałasa

IXP4xx: check for queue being empty in qmgr_release_queue().

Signed-off-by: NKrzysztof Hałasa <khc@pm.waw.pl>
上级 221b3d60
......@@ -199,6 +199,10 @@ void qmgr_release_queue(unsigned int queue)
spin_unlock_irq(&qmgr_lock);
module_put(THIS_MODULE);
while ((addr = qmgr_get_entry(queue)))
printk(KERN_ERR "qmgr: released queue %d not empty: 0x%08X\n",
queue, addr);
#if DEBUG
printk(KERN_DEBUG "qmgr: released queue %i\n", queue);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册