From nobody Fri Dec 19 04:01:57 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AB36CDB47E for ; Fri, 13 Oct 2023 02:39:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229505AbjJMCjq (ORCPT ); Thu, 12 Oct 2023 22:39:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjJMCjp (ORCPT ); Thu, 12 Oct 2023 22:39:45 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D4FF83; Thu, 12 Oct 2023 19:39:43 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 10:38:01 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 10:38:01 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: rafael@kernel.org, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI: Clean up errors in acpi.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-ID: <547f8b.93e.18b26e5e031.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDXaD6JrShlZ9fBAA--.621W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAEwADsN X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Fix the following errors reported by checkpatch: ERROR: "foo * bar" should be "foo *bar" ERROR: space required after that ';' (ctx:VxV) Signed-off-by: GuoHua Cheng --- include/linux/acpi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 9bcf5641a7cf..b55a8ac627e9 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -1421,7 +1421,7 @@ acpi_graph_get_remote_endpoint(const struct fwnode_ha= ndle *fwnode, } =20 #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, d= ata, fn) \ - static const void * __acpi_table_##name[] \ + static const void *__acpi_table_##name[] \ __attribute__((unused)) \ =3D { (void *) table_id, \ (void *) subtable, \ @@ -1429,7 +1429,7 @@ acpi_graph_get_remote_endpoint(const struct fwnode_ha= ndle *fwnode, (void *) fn, \ (void *) data } =20 -#define acpi_probe_device_table(t) ({ int __r =3D 0; __r;}) +#define acpi_probe_device_table(t) ({ int __r =3D 0; __r; }) #endif =20 #ifdef CONFIG_ACPI_TABLE_UPGRADE --=20 2.17.1