ACK: [PATCH 03/12] acpi: acpitables: use PRIu32 format specifier for a uint32_t type
ivanhu
ivan.hu at canonical.com
Mon Sep 10 04:23:44 UTC 2018
On 09/06/2018 10:19 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Don't use %d, use PRIu32 for uint32_t type
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpi/acpitables/acpitables.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c
> index c32b42c0..813c3073 100644
> --- a/src/acpi/acpitables/acpitables.c
> +++ b/src/acpi/acpitables/acpitables.c
> @@ -91,7 +91,7 @@ static int acpi_table_check_test1(fwts_framework *fw)
> */
> if (hdr->length < sizeof(fwts_acpi_table_header)) {
> fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableHdrShort",
> - "ACPI Table %s is too short, only %d bytes long. Further "
> + "ACPI Table %s is too short, only %" PRIu32 " bytes long. Further "
> "header checks will be omitted.", name, hdr->length);
> continue;
> }
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/9779239a/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/9779239a/attachment.sig>
More information about the fwts-devel
mailing list