]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
genirq: Fix unnecessary automatic type conversion
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 3 May 2015 08:48:50 +0000 (10:48 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 5 May 2015 08:45:58 +0000 (10:45 +0200)
commit5e9662fa511794e1e72baf8eee21238962140480
tree461b5604ae9e16834d6e64a8afd7cf5899b6bad5
parent9600973656c697d742e31d202e6212216ea45a3e
genirq: Fix unnecessary automatic type conversion

kstat_irqs is unsigned int and the return type of kstat_irqs() is also
unsigned int so sum should be unsigned int as well even if the result
is correct due to automatic type conversion.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Link: http://lkml.kernel.org/r/1430642930-23929-1-git-send-email-hofrat@osadl.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdesc.c