summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/dbinput.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2019-08-17 00:43:23 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-21 01:00:36 +0300
commit231ec06e793891071e491e574fe351835aeb9c5c (patch)
tree12672d77cb6f123f6c6bb2de5640a3ea6927f886 /drivers/acpi/acpica/dbinput.c
parent779cc7ce3dc519b05f274b79fb5a6c1703f373b5 (diff)
downloadlinux-231ec06e793891071e491e574fe351835aeb9c5c.tar.xz
ACPICA: Fix issues with arg types within printf format strings
ACPICA commit db2638ccaac84b61e92f34d60c3630ff5217f852 Link: https://github.com/acpica/acpica/commit/db2638cc Link: https://github.com/acpica/acpica/commit/634c3085 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dbinput.c')
-rw-r--r--drivers/acpi/acpica/dbinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dbinput.c b/drivers/acpi/acpica/dbinput.c
index 3e5f95390f0d..32e4f0c6b5df 100644
--- a/drivers/acpi/acpica/dbinput.c
+++ b/drivers/acpi/acpica/dbinput.c
@@ -593,7 +593,7 @@ static u32 acpi_db_get_line(char *input_buffer)
input_buffer)) {
acpi_os_printf
("Buffer overflow while parsing input line (max %u characters)\n",
- sizeof(acpi_gbl_db_parsed_buf));
+ (u32)sizeof(acpi_gbl_db_parsed_buf));
return (0);
}