diff options
author | KOSAKI Motohiro <[email protected]> | 2009-01-04 03:11:05 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-01-07 23:18:08 +0100 |
commit | 01d07820a0df6b6134c1bb75b1e84c9d0cdab3be (patch) | |
tree | 381feeeacd197139e7fab66f2829a8390cbbcab2 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | ede6f5aea054d3fb67c78857f7abdee602302043 (diff) |
sparseirq: make for_each_irq_desc() more robust
Raja reported for_each_irq_desc() has possibility unsafeness:
if anyone write folliwing code, for_each_irq_desc() doesn't work
as intended:
(right now this code does not exist at all)
if (safe)
for_each_irq_desc(irq, desc) {
...
}
else
panic();
Reported-by: Raja R Harinath <[email protected]>
Signed-off-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions