diff options
author | Randy Dunlap <[email protected]> | 2021-04-21 22:16:20 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-04-22 13:53:33 +0100 |
commit | a6992bbe9774e044d3d0f973593d655c53efe089 (patch) | |
tree | fae12ec7d50eab859695e66dca3da754488e75a4 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 94bc94209a66f05532c065279f4a719058d447e4 (diff) |
irqchip/tb10x: Use 'fallthrough' to eliminate a warning
Use the 'fallthrough' macro to document that this switch case
does indeed fall through to the next case.
../drivers/irqchip/irq-tb10x.c: In function 'tb10x_irq_set_type':
../drivers/irqchip/irq-tb10x.c:62:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
62 | flow_type = IRQ_TYPE_LEVEL_LOW;
../drivers/irqchip/irq-tb10x.c:63:2: note: here
63 | case IRQ_TYPE_LEVEL_LOW:
| ^~~~
Fixes: b06eb0173ef1 ("irqchip: Add TB10x interrupt controller driver")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Christian Ruppert <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions