ACK: [PATCH 08/12] acpi/dmar: use PRIu8 specifier for uint8_t type
ivanhu
ivan.hu at canonical.com
Mon Sep 10 04:28:27 UTC 2018
On 09/06/2018 10:19 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpi/dmar/dmar.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpi/dmar/dmar.c b/src/acpi/dmar/dmar.c
> index 7685f35d..a1181c65 100644
> --- a/src/acpi/dmar/dmar.c
> +++ b/src/acpi/dmar/dmar.c
> @@ -109,7 +109,7 @@ static int read_pci_device_secondary_bus_number(const uint8_t seg,
> size_t count;
>
> snprintf(path, sizeof(path),
> - "/sys/bus/pci/devices/%04x:%02x:%02x.%d/config",
> + "/sys/bus/pci/devices/%04x:%02x:%02x.%" PRIu8 "/config",
> seg, bus, dev, fn);
> if ((file = fopen(path, "r")) == NULL)
> return -1;
Acked-by: Ivan Hu <ivan.hu at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20180910/068d9db0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20180910/068d9db0/attachment.sig>
More information about the fwts-devel
mailing list