History

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.

Nicholas Mc Guire committed 11 years ago

Commit 7df0b271 parent 5e9662f1 file · +1 −1Browse files

Unified · Split

kernel/irq/irqdesc.c+1−1
@@ -639,7 +639,7 @@ unsigned int kstat_irqs(unsigned int irq) · 638 unmodified lines
639 */639 */
640unsigned int kstat_irqs_usr(unsigned int irq)640unsigned int kstat_irqs_usr(unsigned int irq)
641{641{
642 int sum;642 unsigned int sum;
643 643
644 irq_lock_sparse();644 irq_lock_sparse();
645 sum = kstat_irqs(irq);645 sum = kstat_irqs(irq);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t