]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Fix type inconsistency
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 3 May 2015 08:49:11 +0000 (10:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 5 May 2015 08:45:58 +0000 (10:45 +0200)
commit60d85332afd45c7c1ab03bca8d893a3ca12950c0
tree32d18cc7ff177d0ad4ccd98bb51257dfe83b1b7c
parent93e4671decdb6d7a776ce02f2d7f12a72b86b6e0
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>
kernel/irq/irqdesc.c