[PATCH master] efi: acpi: fix printf format specifier mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



entry_count has type size_t and not long as the format string wrongly
suggested.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux