Skip to content
Snippets Groups Projects
Commit 51e0f004 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Fix irq_of_parse_and_map() and irq_dispose_mapping().


Stephen Rothwell noticed that I committed an earlier version
of the patch that didn't have two things fixed:

1) irq_of_parse_and_map() should return "unsigned int" not "int"
   and it should return zero for "no irq"

2) irq_dispose_mapping() should be an inline function, not a macro,
   for type checking

With feedback and suggestions from Anton Vorontsov.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 783c98b9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment