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
639639 */
640640 unsigned int kstat_irqs_usr(unsigned int irq)
641641 {
642− int sum;
642+ unsigned int sum;
643643
644644 irq_lock_sparse();
645645 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