Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68201
b: refs/heads/master
c: 6d64d42
h: refs/heads/master
i:
  68199: 32f845c
v: v3
  • Loading branch information
Paul Mundt committed Sep 21, 2007
1 parent 9c30512 commit 87c6221
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: 96290d808fa4c9b8e744dc1cd032b005179f4710
refs/heads/master: 6d64d4256cccd3a452ebd8c37a1d41e2d5dab8c6
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/irq/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static int intc_set_sense(unsigned int irq, unsigned int type)
break;
}

if (!enum_id || !value)
if (!enum_id || !value || !desc->sense_regs)
return -EINVAL;

value ^= VALID(0);
Expand Down

0 comments on commit 87c6221

Please sign in to comment.