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:
5e9662f
)
genirq: Fix type inconsistency
author
Nicholas Mc Guire
<hofrat@osadl.org>
Sun, 3 May 2015 08:49:11 +0000
(10:49 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 5 May 2015 08:45:58 +0000
(10:45 +0200)
The return type of kstat_irqs_usr() is unsigned int and kstat_irqs() also
returns unsigned int so sum should be unsigned int here as well.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Link:
http://lkml.kernel.org/r/1430642951-23964-1-git-send-email-hofrat@osadl.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdesc.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/irqdesc.c
b/kernel/irq/irqdesc.c
index 8228f7382491c5ee8a10c0e4154b2dbeab2bd96c..73a76e2ee936036f7be01e58e0d2bc46ee2ccc05 100644
(file)
--- a/
kernel/irq/irqdesc.c
+++ b/
kernel/irq/irqdesc.c
@@
-639,7
+639,7
@@
unsigned int kstat_irqs(unsigned int irq)
*/
unsigned int kstat_irqs_usr(unsigned int irq)
{
- int sum;
+
unsigned
int sum;
irq_lock_sparse();
sum = kstat_irqs(irq);