igb_uio: print IRQ as decimal number
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Tue, 23 Jan 2018 16:17:34 +0000 (08:17 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Feb 2018 23:37:42 +0000 (00:37 +0100)
commitb6af6f317b448531029cda723c8577b7b8173119
treeaa05fe90b2f0fd3011b2804308e4128741e00f7c
parentc36fddd4372305ecf7a25a8417aa720571177a54
igb_uio: print IRQ as decimal number

The kernel uses the '%d' or '%ld' to print irq num.
But igb_uio may use the '%lx', then the log may confuse
the user what irq num has been used. The log is show as
below.

igb_uio 0000:00:03.0: irq 24 for MSI/MSI-X
igb_uio 0000:00:03.0: uio device registered with irq 18

kernel version: 3.10.0-514.16.1.el7

For avoiding to be confused, change the igb_uio irq
print type.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c