Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2897738rdb; Fri, 22 Sep 2023 11:17:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfZ7nja1brm2rUQCty4ce5nsuZmqn8em+r3MJ54MOQW681cv7TFO0/pGJ933AZecK7MdC3 X-Received: by 2002:a05:6a20:5646:b0:140:94b8:3b70 with SMTP id is6-20020a056a20564600b0014094b83b70mr313944pzc.17.1695406666655; Fri, 22 Sep 2023 11:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695406666; cv=none; d=google.com; s=arc-20160816; b=IhiILkezfoWhTYSCMcaxtkgd3+4+mhNxtPs2P2d24/OvXrpJJuXDeDx+adGDBvqXmj SUbiLUPHgQtsjGKtdWn+qsmbKIyUI8hYdbwjkaUyXarU7Uaa8vLLIV24vNLmmC4+PURb jTz8lb6sl2Uj8y7N+EuwYZLKkVq4LvosGpr4F2bZjRCq9FRNuoNTMngjkDKcJtlcXxmp qp/izCJHK5dTqa+KsLMgIE4raE/JaTvSzO4HFVnZIX05j9XybVDiVfm4FXM9ZRPFPCBw 4f4dY1KIvXv5p1i/O54lEE4AAS0xgOP/iZdwQVHaI//fhkObYJ4sgNZPV6Nmsxdd54wE EIKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=Tq0h91ZXPuOiKdlDUexDwGn0SVhCh1sNATEnLYqNZok=; fh=/YU/EUkFzlVVw3Ho2XKNtKEBhxUEEN6ZW/gi/HZzyAY=; b=FXZEsWZz3tyQWQfuBxvfQRzC8L7UQZQpzp1mp1giV7OQK33bB8QISo2TTTWYkgMwDm Notyji13BHa2qizP7k+3y+2UqJo3bliL9XRoEfIBlBUqDaPD36Abq6LaaCJ/bJvtC4Yc vvObUD9Ws0weACeeTPEC+Y1dYgpJYSU2166cdmhhPC8NPpBy/ifO6oxNm8u6fdIhJEeN fBD5G0TEWSx4kt/JBkSq3MkAYcDmZfOkeDuKM8r5mFhKOlIWsOppUr0A5Z0xmwaV95lK l7jLTTfagV4xkdq4jRTx3zw4nVP+rTE+3N/9e8Q7mD6Z+O3oHmcgTraw0LkL06aOg+Yp 6qzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=kQVmdG9n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l3-20020a654c43000000b00573fc592e9dsi4234099pgr.848.2023.09.22.11.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 11:17:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=kQVmdG9n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8AD9482B4332; Fri, 22 Sep 2023 04:34:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233766AbjIVLeT (ORCPT + 99 others); Fri, 22 Sep 2023 07:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233384AbjIVLeE (ORCPT ); Fri, 22 Sep 2023 07:34:04 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7740310F4 for ; Fri, 22 Sep 2023 04:33:21 -0700 (PDT) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230922113319epoutp04d56c5d7d50cf429d297e20bb443551e7~HNU9jfFw10685906859epoutp04X for ; Fri, 22 Sep 2023 11:33:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230922113319epoutp04d56c5d7d50cf429d297e20bb443551e7~HNU9jfFw10685906859epoutp04X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1695382399; bh=Tq0h91ZXPuOiKdlDUexDwGn0SVhCh1sNATEnLYqNZok=; h=From:To:Cc:Subject:Date:References:From; b=kQVmdG9noCBPX7K7iuHyLtOs0ZR/DLuvIw8zd3kYo9/p9sQWUsKxWkC7aKsgG+k1v bynoySpSWUbCyeuX5OwFzO9Jfhi2AJDGcKRe7+/9YhIH48tSGYCTNjQecjx2KYDTbL XVCLBCVpia5hzyEDw9+1uRBnHFbt56ZfjEF/oSmA= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20230922113319epcas2p1083ace4d3f6f85e21a831b3aa2647c76~HNU82AmIc2310223102epcas2p1i; Fri, 22 Sep 2023 11:33:19 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.88]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4RsVWf3n3Rz4x9Pt; Fri, 22 Sep 2023 11:33:18 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 3B.3F.09649.E7B7D056; Fri, 22 Sep 2023 20:33:18 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20230922113317epcas2p4f6b9ee86aeead4ce8b19473379ecf4bb~HNU704_w82558425584epcas2p4k; Fri, 22 Sep 2023 11:33:17 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230922113317epsmtrp16fc9b73dcc482aea95b033f7358381ce~HNU70Bzf_1403814038epsmtrp1l; Fri, 22 Sep 2023 11:33:17 +0000 (GMT) X-AuditID: b6c32a46-b9ffa700000025b1-0b-650d7b7e27b2 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 6F.27.08788.D7B7D056; Fri, 22 Sep 2023 20:33:17 +0900 (KST) Received: from jtpark-7920.dsn.sec.samsung.com (unknown [10.229.83.56]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230922113317epsmtip113d8ddb51e615d500a7e104aef5a9e61~HNU7jLSaE0701807018epsmtip1Y; Fri, 22 Sep 2023 11:33:17 +0000 (GMT) From: Jeongtae Park To: Dan Williams , Alison Schofield , Vishal Verma , Ben Widawsky , Jonathan Cameron , Dave Jiang , Davidlohr Bueso , Fan Ni , linux-cxl@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kyungsan Kim , Wonjae Lee , Hojin Nam , Junhyeok Im , Jehoon Park , Jeongtae Park , Jeongtae Park Subject: [PATCH v2 4/7] cxl: Fix a checkpatch error Date: Fri, 22 Sep 2023 20:36:04 +0900 Message-Id: <20230922113604.3300468-1-jtp.park@samsung.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA01TfUxbVRz19rWvD7KaZ9nwpuqoz80ICdAChTtWiOJgNWOTR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kZ8d0Xdko+pS8KnesVW8r77oOe9XWZRqobKtoxlbAyvo7Q8 pOoM2506Yvnf3i5idbKWOjVdZKO7xXulvfOfBVww22wakH+sQP34+S53lguzzdpfBd/MuSJp LzD/b8k8A84q+TOyoY1uT14c0PCdzfwrf/2x1HZ+y5IVd58qsRRnJBpqMRcVJwIAYUPT0gcD AAA= X-CMS-MailID: 20230922113317epcas2p4f6b9ee86aeead4ce8b19473379ecf4bb X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230922113317epcas2p4f6b9ee86aeead4ce8b19473379ecf4bb References: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 22 Sep 2023 04:34:41 -0700 (PDT) ERROR: Macros with complex values should be enclosed in parentheses Signed-off-by: Jeongtae Park Reviewed-by: Dave Jiang --- 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