Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp316005rdb; Thu, 25 Jan 2024 17:02:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEf0APRcm5Pr82Ee2DHgcIIvnxHDGONXkXvDOKeTjs14SXf5ebpuR0uSs2gmuFPO21FWIfw X-Received: by 2002:a05:651c:316:b0:2cf:3472:b877 with SMTP id a22-20020a05651c031600b002cf3472b877mr239750ljp.95.1706230948713; Thu, 25 Jan 2024 17:02:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706230948; cv=pass; d=google.com; s=arc-20160816; b=qy+uoLC4i76ersyvBPYCTsSi94tfZ/gWq5bh9ja2SgEK2A4gVsqyEd1ayRbT2Iv3Z8 A5uC4Av98yVET79hOsqh+fXU0xX1286IySPjGZeD4V0UG9aFkaZAvAC345PJIZNTDjMM sfS4krOIBMOMf8ukTsCRH5/VBv1GUk/1SfmL5CXpGltY9oTfsvR3YOB6PnwUHDmuu+1z dZVGjeSiyFZsuJ6LUMjHiDBCJuv0alWRN2eizPlwyntl6zmQqnOUPv/lrsCOeuPnMWhO Por6Oq8cBwOEMGALbnU4UVQt4VLNjozVkR5UY+Lh3LbfmzngKIt/o9WxQedH3PkG/QWY 6ChA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vDo8wakidq0YhelFiycaIU58VxgIfIBAMQhbwJMl6T8=; fh=IfnL/ZFgYcrV71rUXNs3LeXQxTFfsTnbQf17FCgKbnw=; b=EML2EJdc3LsZWhbUMcASf94gdMEMgmm5//TRs9cnlgA1mSN65VSDgUk3wo4Df6Yt9D lv0NYtL327/i01TA4JvbHz7irFR+WgDnShZfzEdWxk7tIIZCJsfj0ocfIbdgfLzF2Adh qH3nT8nsWoU/3OT/0jkcpnLHHfNWoaGIDaHLcIxW9hQpNd3Rbkap5nqm/pWW4l44Ar/H ACRjyAi+2/EeyZl/1+Xac8XI1Db6q+9VLnoHvaDIKFY8U2W67RxKHh86FBDutrd/NaP2 BuCbuOefIpz1wZ3/uzhGomM/+opMXgIo6YYJ1NYNkMs7Jdmbz8XF91tjatprEH8v3YwG zKZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=Dakj2rcw; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-39480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p14-20020a056402500e00b0055872d17e56si89123eda.42.2024.01.25.17.02.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 17:02:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=Dakj2rcw; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-39480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 714371F25CC7 for ; Fri, 26 Jan 2024 01:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B4B2EC3; Fri, 26 Jan 2024 01:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="Dakj2rcw" Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52E06387; Fri, 26 Jan 2024 01:02:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.113 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706230941; cv=none; b=UlW0hmU8xxwX3pF4OQj/OOEkt6J/xQW3IbQ9NpMtwvtFJduiSAca5nFe9ps59cTLSHTztyFtfsseR/OVIvsEzvg0n4fQ1nZPkWQIiexWehlBXWnasKN3R6DqpR63+ElsSkTO+uasyA14H7x7CWDiXoqFmCwpNuqupe5Ks12Np6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706230941; c=relaxed/simple; bh=o/H7UB9xeWtg7kwRYBvkwSfAVrMMvmyhuI7LB/3Ct3U=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=m62MzdWKRKJTquHw1b8WTsvhAlrmPgQffLx+dJqjgNpFVB1F4gOEOlUibLr+wE3u1QA6eIek6DuspBhG6Rkw4armBYHvUMQd4/zoT83qqnYteO1f6U26qhX+p3tZnul/lj4ADKlDPOKUuwj+TA1Y3kPqdzrWkfZ78UEXPqPgPZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=Dakj2rcw; arc=none smtp.client-ip=115.124.30.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1706230930; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=vDo8wakidq0YhelFiycaIU58VxgIfIBAMQhbwJMl6T8=; b=Dakj2rcw9XbqZIiIFsaT4nsnJONxcFxmVhnr1us6lkIsblT2t077iwXn6+tXo+GYpS7/VD6Mryy2pM7ZbH8iQCg6Jm8tD9Pq6ZZGMZ0CbyNC4g2NCTVV51NqbmkzOj8gt4HPh701aHl61rZw9EvLuyocfJrhteHPX0XR+JOQ0kE= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0W.LcmOc_1706230928; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W.LcmOc_1706230928) by smtp.aliyun-inc.com; Fri, 26 Jan 2024 09:02:09 +0800 From: Yang Li To: tony.luck@intel.com, bp@alien8.de, Yazen.Ghannam@amd.com Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] RAS: Remove unneeded semicolon Date: Fri, 26 Jan 2024 09:02:07 +0800 Message-Id: <20240126010207.25957-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch removes the unnecessary semicolons at the end of the switch-case statements which cleans up the code and ensures consistency with the rest of the kernel coding style. Signed-off-by: Yang Li --- drivers/ras/amd/atl/denormalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ras/amd/atl/denormalize.c b/drivers/ras/amd/atl/denormalize.c index 01f1d0fb6799..80d72b857076 100644 --- a/drivers/ras/amd/atl/denormalize.c +++ b/drivers/ras/amd/atl/denormalize.c @@ -469,7 +469,7 @@ static int denorm_addr_df4_np2(struct addr_ctx *ctx) default: atl_debug_on_bad_intlv_mode(ctx); return -EINVAL; - }; + } if (ctx->map.num_intlv_sockets == 1) { hash_pa8 = BIT_ULL(shift_value) & ctx->ret_addr; -- 2.20.1.7.g153144c