Viresh Kumar
c8aaebccc8
tools/libxl: Fix virtio build error for 32-bit platforms
...
The field 'base' in 'struct libxl_device_virtio' is defined as uint64,
while we are printing it with '%lu', which is 32bit only 32-bit
platforms. And so generates a error like:
libxl_internal.h:4388:51: error: format '%lu' expects argument of type 'long
unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned
int'} [-Werror=format=]
Fix it by switching to a 64bit PRI instead.
While fixing this, switch from decimal to hex which is the more natural base
to use for a field like this.
Fixes: 43ba5202e2 ("libxl: add support for generic virtio device")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org >
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com >
2022-12-15 18:04:53 +00:00
..
2020-10-01 13:26:09 +02:00
2021-10-13 15:10:38 +01:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2022-10-14 20:56:57 +01:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-12-15 16:24:16 +00:00
2022-02-08 11:10:52 +00:00
2022-11-17 16:51:51 +00:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2022-12-14 12:03:09 +01:00
2020-10-01 13:58:42 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2021-09-03 15:09:48 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-12-15 16:24:16 +00:00
2020-10-01 13:26:09 +02:00
2022-11-08 17:26:08 +00:00
2020-10-01 13:26:09 +02:00
2022-12-14 12:03:09 +01:00
2022-07-28 19:25:43 +01:00
2022-07-28 19:25:43 +01:00
2022-08-18 09:25:50 +02:00
2020-10-01 13:26:09 +02:00
2021-03-18 14:56:33 +01:00
2022-11-21 16:12:41 +00:00
2022-02-08 11:10:52 +00:00
2022-06-01 09:18:49 +02:00
2020-10-08 12:47:59 +00:00
2020-10-01 13:26:09 +02:00
2022-06-01 09:18:49 +02:00
2021-01-29 22:50:08 +00:00
2020-10-01 13:26:09 +02:00
2022-12-13 15:23:54 +01:00
2022-12-14 12:03:09 +01:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2022-04-22 20:39:34 +01:00
2022-05-20 12:18:50 +02:00
2021-01-29 22:50:08 +00:00
2020-10-01 13:26:09 +02:00
2022-07-05 14:16:26 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2021-05-04 18:35:35 +01:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2022-07-12 08:38:51 +02:00
2020-10-01 13:26:09 +02:00
2020-12-15 16:24:16 +00:00
2022-08-19 09:58:34 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2021-02-08 16:28:34 +00:00
2020-10-01 13:26:09 +02:00
2021-01-29 22:50:08 +00:00
2020-10-01 13:26:09 +02:00
2022-02-08 11:10:52 +00:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2022-12-14 12:03:09 +01:00
2022-12-14 12:03:09 +01:00
2020-12-15 16:24:16 +00:00
2022-07-28 19:25:43 +01:00
2021-01-29 22:50:08 +00:00
2020-12-15 16:24:16 +00:00
2022-12-15 18:04:53 +00:00
2020-12-15 16:24:16 +00:00
2020-10-01 13:58:42 +02:00
2020-12-15 16:24:16 +00:00
2020-12-15 16:24:16 +00:00
2021-09-24 11:07:50 +01:00
2020-10-01 13:26:09 +02:00
2022-11-17 16:51:51 +00:00
2020-10-01 13:26:09 +02:00
2022-11-17 16:51:51 +00:00
2022-12-14 12:03:09 +01:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00
2020-10-01 13:26:09 +02:00