projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
221b3d6
)
IXP4xx: check for queue being empty in qmgr_release_queue().
author
Krzysztof Hałasa
<khc@pm.waw.pl>
Thu, 8 May 2008 21:18:31 +0000
(23:18 +0200)
committer
Krzysztof Hałasa
<khc@pm.waw.pl>
Sun, 21 Dec 2008 23:41:49 +0000
(
00:41
+0100)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
index c6cb069a5a83cea283e94dfc906f1ae81558a320..988bc1bbf4f22235a8a1a77908c14363ea6a0ab9 100644
(file)
--- 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)
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