Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260737
b: refs/heads/master
c: 3639229
h: refs/heads/master
i:
  260735: 642e065
v: v3
  • Loading branch information
Michal Simek committed Jul 27, 2011
1 parent 2bd4b50 commit c7e7846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6dbd3085c3c3a53dfa4491ebcbf7847955b16f26
refs/heads/master: 363922946f96ad1d6420107ebcfa9a95b659fe75
2 changes: 1 addition & 1 deletion trunk/arch/microblaze/kernel/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void __init init_IRQ(void)
intr_type =
be32_to_cpup(of_get_property(intc,
"xlnx,kind-of-intr", NULL));
if (intr_type >= (1 << (nr_irq + 1)))
if (intr_type > (u32)((1ULL << nr_irq) - 1))
printk(KERN_INFO " ERROR: Mismatch in kind-of-intr param\n");

#ifdef CONFIG_SELFMOD_INTC
Expand Down

0 comments on commit c7e7846

Please sign in to comment.