Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee0401ec authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: show_interrupts: Check desc->name before printing it blindly



desc->name is not required and not used by all architectures.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 6d05c80d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -405,6 +405,7 @@ int show_interrupts(struct seq_file *p, void *v)
	for_each_online_cpu(j)
		seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
	seq_printf(p, " %8s", desc->irq_data.chip->name);
	if (desc->name)
		seq_printf(p, "-%-8s", desc->name);

	if (action) {