Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3179521rdh; Thu, 28 Sep 2023 05:13:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPphQF7YhBQ/lc/4DOMYzQci3MYi2nj04LdbS8OUxycs1It+2U79VNqm8WwfBa5tg2+nti X-Received: by 2002:a25:14d5:0:b0:d7a:8e37:6d4d with SMTP id 204-20020a2514d5000000b00d7a8e376d4dmr879137ybu.43.1695903228305; Thu, 28 Sep 2023 05:13:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695903228; cv=pass; d=google.com; s=arc-20160816; b=WZ1Kk60kEleMJ9jkakiXJWbREXPsPiinIhM70N7Clyd+4XUFwcJNJe3P8OYcD/Q5KT MKUCt9LdMbZiqTnYuGFVJuLTCA0uubrsTMoc24Dk65XT6sjW1egXOp12m7OB4hXWZDiF 0IQntcUZpNgIGcqlP8JGxzuG9mVrjingC5uJpDXMevOa8v66o/TnUwG161N2HIBR+uau v/EH4XXX0NIaHLWwq1OZ3ZLZcbj1rmxM1J+ATGfq5f/lRu5a28uSXhARi6sMf10iM03q kj+S5sMbB573P40jG2Sw2Kv2o84BG1PeqQex30N/gOmo0+bzQ8SLg6XgXDhJ451S5urV K0kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=aoMM+ecrUHruHy0xNndpz4cJ9IdeHiZqtMr+bAYPNcU=; fh=Hg/XFS8zyLKHWLShmZAfw2FVzDMbNARNpAGJgMMfnPI=; b=hEOfMU72xW3QxrZyE5yege7/TW6bJLgQxfvFihdvxwZM9DOwODRxzioJmeQTE/WWQb WmsJXLA9xpneTCNyIBzDQwRuqEIjdH8PLK1zmk4o9dk4hLSGARjo9tWAGNL/7n3wpWeK MAGpGQLH1BcLblYvD3hCz3yW4CJFww0SseMKgWrHxBUzyZgtMfMekt2pw4Q67zewoXKJ LCdIxWtALMSxEbT7Fj7RvbVeMEqWPAv0nr9e0MAfRmFt7c5I4198RRvDz4C8NAAtSEar 2oxP5YpAW0gMbwwpKS4fc3tivol02XUSkBCTPmqLY+7WqKfLRzp2rZXvOW28oacJuwuo MioQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b="Z/DLACN/"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q80-20020a632a53000000b00578e1e96ea9si18002580pgq.146.2023.09.28.05.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 05:13:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b="Z/DLACN/"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 51BF08038B2F; Wed, 27 Sep 2023 18:32:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbjI1Bcq (ORCPT + 99 others); Wed, 27 Sep 2023 21:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbjI1Bco (ORCPT ); Wed, 27 Sep 2023 21:32:44 -0400 Received: from bee.birch.relay.mailchannels.net (bee.birch.relay.mailchannels.net [23.83.209.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C2C1AC; Wed, 27 Sep 2023 18:32:43 -0700 (PDT) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D07D6901E34; Thu, 28 Sep 2023 01:32:42 +0000 (UTC) Received: from pdx1-sub0-mail-a245.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 39D709012B1; Thu, 28 Sep 2023 01:32:42 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1695864762; a=rsa-sha256; cv=none; b=EObbCsYePKJdFgdQ3aR0jhf1Zc4+RwEWqb306qQ3SJnbf3RoLMDeUpxLX8JfIGucJoD039 cJfxx3zyqqHg2XSVIk2hvR00yIQkJQQDoptSpS2AEW2c5iwI5Zapsf06MGMFVoZSEvaNiL RWnn5gubEI5QZXMCRp6f9IfesyoIdSe+z59rxmeKzGqMpq7IjRmziQt7rfRmVcy3fhCaGe n8ILrBgi9Yg4ooVizOsQhAiRaLczhJSc0seLbqT2wuz7AvvcRZQ3lgTiop53MPvVrc6Z/q CqPWbLWcHPw1dYp31uBjTp2yKla4UKeoe6ltROyUEgWCkIdAQWCvVl1KPanS1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1695864762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=aoMM+ecrUHruHy0xNndpz4cJ9IdeHiZqtMr+bAYPNcU=; b=I93n44Le0NvDjV/gK4LuHWJv9vBwlF0EySyeNaYcXyQv3fv8P7iIvGMrga9/nEtv7AUaul 0FI5a7waegx/YykAyOOfoRnWQQSPrksDRMTkyDXoOtFL6hM+06Avc181wxwu8blxZB4sp9 QKIO6xEoLOIRbt2VgGqO2RaAVYYBrpvO2ue/O4An3cGEyJyxj5EJFwIT/G0j3jx8TdqQNM VRMwBv24Oc5zk0Mxpr/vq9zoxZcCjfywZcyGYgv/iDL6aTDuFbUsf0iyTmCvYwDfRF2XER 2KkAdE81YVtbIZw/NDB9c0MeIYQUFPmleUf8r49sz0gzh567UCTmGfvjPeSQEg== ARC-Authentication-Results: i=1; rspamd-7d5dc8fd68-qxxm7; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Little-Minister: 7ca387024b77a229_1695864762639_230044770 X-MC-Loop-Signature: 1695864762638:2213682086 X-MC-Ingress-Time: 1695864762638 Received: from pdx1-sub0-mail-a245.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.101.166.200 (trex/6.9.1); Thu, 28 Sep 2023 01:32:42 +0000 Received: from offworld (ip72-199-50-187.sd.sd.cox.net [72.199.50.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a245.dreamhost.com (Postfix) with ESMTPSA id 4Rwwvs0kwhz2l; Wed, 27 Sep 2023 18:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1695864762; bh=aoMM+ecrUHruHy0xNndpz4cJ9IdeHiZqtMr+bAYPNcU=; h=Date:From:To:Cc:Subject:Content-Type; b=Z/DLACN/18M6imAt+EFXbYxWWkjAVBX3GqQ1aysyAb0TuEAqTRo0pFQ5AV1DWCRfr DK7GamF+cAUz/9bJmpeFLmnPuNYcFKq9qWrnFkingF2mteWFDlCKmuFbzrh3z9jXzS nKeR2XAWN/vB2SglKKWys89DC1HrRZ+lU1jQiLfrTjDOoup8vKTeRR0qYC+pzfCEJf I/Q1iLvY0IeP9KmFgglu0sIMeFnd0SdU8v1ashvIZTC3h2X+VUdsg8cYsKrZgkKpcV 0iapjx5KDk4+DYlBxS4cZW7WwgWu3m1KXyFPQS/glFjDmle9kjwtk8BaBqXkBBp+gA hXer2q7C4czSQ== Date: Wed, 27 Sep 2023 18:32:38 -0700 From: Davidlohr Bueso To: Jeongtae Park Cc: Dan Williams , Alison Schofield , Vishal Verma , Ben Widawsky , Jonathan Cameron , Dave Jiang , Fan Ni , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kyungsan Kim , Wonjae Lee , Hojin Nam , Junhyeok Im , Jehoon Park , Jeongtae Park Subject: Re: [PATCH v2 4/7] cxl: Fix a checkpatch error Message-ID: References: <20230922113604.3300468-1-jtp.park@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20230922113604.3300468-1-jtp.park@samsung.com> User-Agent: NeoMutt/20230517 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 18:32:54 -0700 (PDT) On Fri, 22 Sep 2023, Jeongtae Park wrote: >ERROR: Macros with complex values should be enclosed in parentheses > >Signed-off-by: Jeongtae Park >Reviewed-by: Dave Jiang Reviewed-by: Davidlohr Bueso >--- > drivers/cxl/cxl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h >index 76d92561af29..545381355efb 100644 >--- a/drivers/cxl/cxl.h >+++ b/drivers/cxl/cxl.h >@@ -142,7 +142,7 @@ static inline int ways_to_eiw(unsigned int ways, u8 *eiw) > #define CXL_RAS_HEADER_LOG_OFFSET 0x18 > #define CXL_RAS_CAPABILITY_LENGTH 0x58 > #define CXL_HEADERLOG_SIZE SZ_512 >-#define CXL_HEADERLOG_SIZE_U32 SZ_512 / sizeof(u32) >+#define CXL_HEADERLOG_SIZE_U32 (SZ_512 / sizeof(u32)) > > /* CXL 2.0 8.2.8.1 Device Capabilities Array Register */ > #define CXLDEV_CAP_ARRAY_OFFSET 0x0 >-- >2.34.1 >