From patchwork Fri Jan 26 01:02:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 192343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:e09d:b0:103:945f:af90 with SMTP id gm29csp364896dyb; Thu, 25 Jan 2024 17:02:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IE214+ZSHDfcAn0/yRrrAORc8RNdODGEFjDowKhDQ4pyCXtiLmxLb1aALfY/8E3TKShQPOO X-Received: by 2002:a17:907:208d:b0:a30:ee47:828e with SMTP id pv13-20020a170907208d00b00a30ee47828emr220507ejb.110.1706230956144; Thu, 25 Jan 2024 17:02:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706230956; cv=pass; d=google.com; s=arc-20160816; b=iv/OKFJMuC+axfCcRGQHIR0aqya+p2M4N1nuJFLH1nXQqFIrkIqWMvRA8r0bMd/M0R EyuIC80hFfNk/feJV63HIdjj1aiLb4U5b8pzflNFhTI0WYxd9UYckW7CsD4EDmPhmOed 1cZW3upnYBfRCLrvGz7elq0O7Fu3w1p1DWsh75ZCZaDOhNbO/PLJtNPc1QxeSwpzCEcY fZMsZ181cXDvaGGMxTpgi9A6hARoLGuvgTsIDswTjn5dIrL/lOVwiomBX8kyQaTpSORU LVyKscU9z9oUuUGUpf+G1VvYFOm29UDZBLSrsLPXoNI5kQCKfFmf26z0hvPEH9L1oxZT 1sSA== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39480-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v12-20020a170906488c00b00a30d26743e4si23366ejq.540.2024.01.25.17.02.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 17:02:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39480-ouuuleilei=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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39480-ouuuleilei=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 BBDC01F25B4C for ; Fri, 26 Jan 2024 01:02:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23E4E17F7; Fri, 26 Jan 2024 01:02:24 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789112831048684704 X-GMAIL-MSGID: 1789112831048684704 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;