Files
xen/tools/libs/light
Jason Andryuk 4ed6f75805 tools/libxl: Switch irq to unsigned int
The PCI device irq is read with fscanf(%u).  Switch the irq variable to
unsigned int to match.

Linux driver/pci/pci-sysfs.c:irq_show() uses %u to print the value.

However, unsigned int irq doesn't compile because of:
error: pointer targets in passing argument 4 of 'xc_physdev_map_pirq' differ in signedness [-Werror=pointer-sign]

Add int pirq to provide the desired type instead of re-using irq.

Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
2025-04-25 11:44:48 +02:00
..
2025-03-28 11:03:36 +01:00
2024-05-20 17:01:20 +01:00
2025-04-08 09:39:50 +02:00
2022-06-01 09:18:49 +02:00
2022-06-01 09:18:49 +02:00
2025-04-08 09:39:50 +02:00
2021-01-29 22:50:08 +00:00