genirq: Improve "hwirq" output in /proc and /sys/
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:50 +0000 (15:27 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 30 Jul 2021 21:07:31 +0000 (23:07 +0200)
commitd92df42d7685445a2b6c815d9230d9699d9d400b
tree6e7606f89b07bd844e580aedc7c992301df4aaba
parentff1176468d368232b684f75e82563369208bc371
genirq: Improve "hwirq" output in /proc and /sys/

The HW IRQ numbers generated by the PCI MSI layer can be quite large
on a pSeries machine when running under the IBM Hypervisor and they
appear as negative. Use '%lu' instead to show them correctly.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdesc.c
kernel/irq/proc.c