Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3723675rdg; Wed, 18 Oct 2023 04:23:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyAskuCObbY2/EaQGRK0O1fzR1FkeaP432ohkVWVSvsLQE6uN5X7GpF0EMRryQDAaKLGI4 X-Received: by 2002:a05:6358:3a18:b0:135:a10e:1ed0 with SMTP id g24-20020a0563583a1800b00135a10e1ed0mr4850663rwe.23.1697628206756; Wed, 18 Oct 2023 04:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697628206; cv=none; d=google.com; s=arc-20160816; b=rCfSNsl/ppNmGKOqs9wJkE+khNlJht8pwE+F1VF6v8bM3khXzSH2SVCJynxWx9pR1/ OwyjRBGip09bhDGUTlmQ6rlg3BmHeX4SJET1ilbBAhy2D6ZHY4OZwNweOWOEgeS0klvl bvJU/ASeIs9XqJoUzJXUeKFYUuIjwdF4layCs917O+MCjaYdOaXbxkla9ORdTY360Qq1 9snPplWEHCNlK9yAz+bEXcjyPrUaD3NtpT1TVTRR8U+M1M+0s6dX6tFJDO6HLIaVreI+ qMSc8L+awoZyPTSsMsy8DZNyl8FmoYqScOfVWBZPAoJ3TcMWBdeJc2Qbpaz/8ReYC8VG nw6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=hXdxIcy2fT+b2H86q0RKqsnkUt/zkFH4dcfN9yy1zEA=; fh=Q72VTX1Z9rzNRMoEHMvWPFGUs4QxGBIXyOWitgBs8K8=; b=GLI4rFm8r27FDqz7oY2ciFX1YPVCP5hkqNwgRrOhx0oKKty9Wu3kq2zaMJieMiK6Jv vbX7VSqOMMBB8WtDPuKHfaRX29HlKWe0FUmu2o5F0s8WZ7Xle1dCn/EcBsNUJwBTJzM3 SVKrsKDWpAbnRM+Ai8DD69Pq0fjtEnhHr7UHi2GlHTd9Kgj6sEMYhekBGbgq4aw6FRcI gwtDweiXUh9hXWPXHpL0QNSkOfp4xqL9aXQpEwZiO7x1n565GslHbPyPo3a+Y3HOtlxz pT0j3bzyGpiMAUs2RAo3eCLxlYC7v9qShcta8/OjH5cDxKP7LPWUnd1nq2qxA/Jwx4TV UCwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id g3-20020a6544c3000000b005657ba564bdsi1878993pgs.826.2023.10.18.04.23.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 04:23:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 71C47802DD88; Wed, 18 Oct 2023 04:23:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjJRLXS convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Oct 2023 07:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbjJRLXR (ORCPT ); Wed, 18 Oct 2023 07:23:17 -0400 Received: from mail-oo1-f52.google.com (mail-oo1-f52.google.com [209.85.161.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7488FE; Wed, 18 Oct 2023 04:23:15 -0700 (PDT) Received: by mail-oo1-f52.google.com with SMTP id 006d021491bc7-57f137dffa5so959209eaf.1; Wed, 18 Oct 2023 04:23:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697628195; x=1698232995; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dL8d1Wy2RYg7Z3Gg7sRF+6FjUhQukhbwr28QCxGfYwQ=; b=rI/ZQCdYay37wlm1u4sGslUIdm/JtoOwobWoV74LtPxBogTx2hmmkUmD0asDS5iPWZ ST0R/e5h5mM6kE8EbA7UfcO/TX5h0nfAfK1gZ2hFbo4xz4fOOI0By6a1YAL4p5uGWDaa Mx8CJ6aD8rYpgy7IlUUVCDWzNZf4kkTNVxfAX87dFNdLOR9Wscx7AGLl5jf84RAQN6x5 ovzuNOBLzvBw8ijt83hAQL8m53Edq8ElhMLyznyocE3LNCGpBJoSs9fpMIg2gySC2r4x Tnx/HMQv83MOhr7Dyj/1GdnJZ3WXmgkELtk4NwGQl60iRO/T+6XoM8tFWw5IQ5F5nbTO h02Q== X-Gm-Message-State: AOJu0YzY4ySYh8GE+2g8nioo1UZli6Kaf3ZaCyP1Vzdva+vd5ADotJF4 zxSE9CJEnTkOWTjq1vckO7TfHTVq0tSK6aDN6KsWbsS0 X-Received: by 2002:a4a:e1cd:0:b0:581:feb5:ac87 with SMTP id n13-20020a4ae1cd000000b00581feb5ac87mr970404oot.1.1697628195091; Wed, 18 Oct 2023 04:23:15 -0700 (PDT) MIME-Version: 1.0 References: <547f8b.93e.18b26e5e031.Coremail.chenguohua@jari.cn> In-Reply-To: <547f8b.93e.18b26e5e031.Coremail.chenguohua@jari.cn> From: "Rafael J. Wysocki" Date: Wed, 18 Oct 2023 13:23:04 +0200 Message-ID: Subject: Re: [PATCH] ACPI: Clean up errors in acpi.h To: chenguohua@jari.cn Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 04:23:24 -0700 (PDT) First, the subject is misleading, because the patch doesn't address any errors, but cleans up the usage of white space. On Fri, Oct 13, 2023 at 6:32 AM wrote: > > Fix the following errors reported by checkpatch: Why does it make sense to run checkpatch on the existing code? > ERROR: "foo * bar" should be "foo *bar" > ERROR: space required after that ';' (ctx:VxV) > > Signed-off-by: GuoHua Cheng Please fix the changelog to simply state that it cleans up the usage of white space so it is consistent with the kernel coding style. > --- > 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_handle *fwnode, > } > > #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, data, fn) \ > - static const void * __acpi_table_##name[] \ > + static const void *__acpi_table_##name[] \ > __attribute__((unused)) \ > = { (void *) table_id, \ > (void *) subtable, \ > @@ -1429,7 +1429,7 @@ acpi_graph_get_remote_endpoint(const struct fwnode_handle *fwnode, > (void *) fn, \ > (void *) data } > > -#define acpi_probe_device_table(t) ({ int __r = 0; __r;}) > +#define acpi_probe_device_table(t) ({ int __r = 0; __r; }) > #endif > > #ifdef CONFIG_ACPI_TABLE_UPGRADE > --