From patchwork Thu Jan 28 23:25:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 372669 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 303E9C433E0 for ; Thu, 28 Jan 2021 23:26:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE97164DF8 for ; Thu, 28 Jan 2021 23:26:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231330AbhA1X0Z (ORCPT ); Thu, 28 Jan 2021 18:26:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbhA1X0Y (ORCPT ); Thu, 28 Jan 2021 18:26:24 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6488C06174A; Thu, 28 Jan 2021 15:25:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=9LAtGDFH6zDnTdxtCfVVdPAvctAiNjV0aqHUdl2anj0=; b=23jmMc4bphLmkaLLj37Aw7pzKP srJHKBofiwnPdB961Ogi07DNQRmqfhqlmtzekyALdJiUxnIi9ZMlC9LSnItF8D+XDtwYtPI/3V/hi FPZnKX0Aayhfap9SEPq+O8Ldy6X8gSKjoTRTk1Ax4D7xr/4Vr2hdFwZ7ylQQcLf8KJ5wfeENt2Kba PEkmdL29L9fxgcCYERDy/cChLJfqETOjzetBydSbE8Zg8LLSMKtH8Sc9Nydie6tPXZk9DbtHLERfM AWhU8uYQT+Teo7oyM4u5S4XwKJZgRY6ywGKUzmk8xDRYzD6PsK42+cmJ5m+0Y/BJfTVkLWNbhoeVy 4a4QAxiw==; Received: from [2601:1c0:6280:3f0::7650] (helo=merlin.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5GfS-0008Ie-0t; Thu, 28 Jan 2021 23:25:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , "Rafael J. Wysocki" , "Rafael J . Wysocki" , Len Brown , linux-acpi@vger.kernel.org, Zhang Rui Subject: [PATCH -next] acpi: fpdt: drop errant comma in pr_info() Date: Thu, 28 Jan 2021 15:25:28 -0800 Message-Id: <20210128232528.21117-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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 Cc: "Rafael J. Wysocki" Cc: Rafael J. Wysocki Cc: Len Brown Cc: linux-acpi@vger.kernel.org Cc: Zhang Rui --- 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; }