aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ixp4xx/ixp4xx_qmgr.c')
-rw-r--r--arch/arm/mach-ixp4xx/ixp4xx_qmgr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
index c6cb069a5a83..988bc1bbf4f2 100644
--- a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
+++ b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
@@ -199,6 +199,10 @@ void qmgr_release_queue(unsigned int queue)
199 spin_unlock_irq(&qmgr_lock); 199 spin_unlock_irq(&qmgr_lock);
200 200
201 module_put(THIS_MODULE); 201 module_put(THIS_MODULE);
202
203 while ((addr = qmgr_get_entry(queue)))
204 printk(KERN_ERR "qmgr: released queue %d not empty: 0x%08X\n",
205 queue, addr);
202#if DEBUG 206#if DEBUG
203 printk(KERN_DEBUG "qmgr: released queue %i\n", queue); 207 printk(KERN_DEBUG "qmgr: released queue %i\n", queue);
204#endif 208#endif