genirq: Fix type inconsistency

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>
This commit is contained in:
Nicholas Mc Guire 2015-05-03 10:49:11 +02:00 committed by Thomas Gleixner
parent 5e9662fa51
commit 7df0b27838
1 changed files with 1 additions and 1 deletions

View File

@ -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);