Protection against poorly written drivers who give a null name to their
irq handlers.
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
TP_STRUCT__entry(
__field(unsigned int, irq)
__string(name, chip_name)
- __string(action, action->name)
+ __string(action, action->name ? : "")
),
TP_fast_assign(
tp_assign(irq, irq)
tp_strcpy(name, chip_name)
- tp_strcpy(action, action->name)
+ tp_strcpy(action, action->name ? : "")
),
TP_printk("")
)