* [PATCH master] efi: acpi: fix printf format specifier mismatch
@ 2023-11-09 11:59 Ahmad Fatoum
2023-11-10 13:13 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-11-09 11:59 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
entry_count has type size_t and not long as the format string wrongly
suggested.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/bus/acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/acpi.c b/drivers/bus/acpi.c
index f69789200633..ac034cce4569 100644
--- a/drivers/bus/acpi.c
+++ b/drivers/bus/acpi.c
@@ -186,7 +186,7 @@ static int acpi_register_devices(struct bus_type *bus)
return -EIO;
}
- dev_info(bus->dev, "Found %s (OEM: %.8s) with %lu entries\n",
+ dev_info(bus->dev, "Found %s (OEM: %.8s) with %zu entries\n",
sig, root->sdt.oem_id, entry_count);
for (i = 0; i < entry_count; i++) {
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH master] efi: acpi: fix printf format specifier mismatch
2023-11-09 11:59 [PATCH master] efi: acpi: fix printf format specifier mismatch Ahmad Fatoum
@ 2023-11-10 13:13 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-11-10 13:13 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: barebox
On Thu, Nov 09, 2023 at 12:59:54PM +0100, Ahmad Fatoum wrote:
> entry_count has type size_t and not long as the format string wrongly
> suggested.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> drivers/bus/acpi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/bus/acpi.c b/drivers/bus/acpi.c
> index f69789200633..ac034cce4569 100644
> --- a/drivers/bus/acpi.c
> +++ b/drivers/bus/acpi.c
> @@ -186,7 +186,7 @@ static int acpi_register_devices(struct bus_type *bus)
> return -EIO;
> }
>
> - dev_info(bus->dev, "Found %s (OEM: %.8s) with %lu entries\n",
> + dev_info(bus->dev, "Found %s (OEM: %.8s) with %zu entries\n",
> sig, root->sdt.oem_id, entry_count);
>
> for (i = 0; i < entry_count; i++) {
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-10 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 11:59 [PATCH master] efi: acpi: fix printf format specifier mismatch Ahmad Fatoum
2023-11-10 13:13 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox