Thread (4 messages) 4 messages, 3 authors, 2021-01-29

[PATCH -next] acpi: fpdt: drop errant comma in pr_info()

flat view
STALE2076d

From: Randy Dunlap <rdunlap@infradead.org>
Date: 2021-01-28 23:26:41
Also in: lkml

Drop a mistaken comma in the pr_info() args to prevent the
build warning.

../drivers/acpi/acpi_fpdt.c: In function 'acpi_init_fpdt':
../include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
../drivers/acpi/acpi_fpdt.c:255:4: note: in expansion of macro 'pr_info'
    pr_info(FW_BUG, "Invalid subtable type %d found.\n",

Fixes: 208757d71098 ("ACPI: tables: introduce support for FPDT table")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "Rafael J. Wysocki" <redacted>
Cc: Rafael J. Wysocki <redacted>
Cc: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
Cc: Zhang Rui <rui.zhang@intel.com>
---
 drivers/acpi/acpi_fpdt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20210128.orig/drivers/acpi/acpi_fpdt.c
+++ linux-next-20210128/drivers/acpi/acpi_fpdt.c
@@ -252,7 +252,7 @@ void acpi_init_fpdt(void)
 					      subtable->type);
 			break;
 		default:
-			pr_info(FW_BUG, "Invalid subtable type %d found.\n",
+			pr_info(FW_BUG "Invalid subtable type %d found.\n",
 			       subtable->type);
 			return;
 		}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help