From patchwork Tue Feb 13 11:20:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 200389 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp470785dyb; Tue, 13 Feb 2024 03:28:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCAjyzJILa53+o7Gu3JVH+/eCreZo34Z0YSGwa9YwrwMdxSBtWyh+X8rM9OJV4Etx9uQE4YgJ/8ZwdfRxsI7cDW+NazA== X-Google-Smtp-Source: AGHT+IGOOr3gTsAIRj0v3eiRMlFRtGKIMrVkxtR0ZeapYcOasGOgudVl1NJ/u+0ZqjuWe+ZriRFP X-Received: by 2002:a17:902:eaca:b0:1da:2128:eb31 with SMTP id p10-20020a170902eaca00b001da2128eb31mr7176921pld.65.1707823731748; Tue, 13 Feb 2024 03:28:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707823731; cv=pass; d=google.com; s=arc-20160816; b=EJFA2gOhAdY6ILU+Ry/yeuJgPI2IJgDvuNNRobcQqYCQuMpnYtEleyyB4BIH3TAqcd tPnq/4S6vvt1c2anx4D7/YMrWLMtPVFDX0PX07saYgIY8HM1ZAACrBRjHceOkIabDBti RxxQp/4cCYGH/mUs69dmbGMUcp80Dfzq05PWbXK/yVx6iNB/ku7Z8rLoHO7UQH9dQZnu wqWyvAlN9M5aKKBRw9YLW6NY1SU2oDVQdkxWA+khKAr4p3wz8WQo792Fo8iNPjWSdj7E Ub8yU/EpMCNoeRf8ikRhw0AbwjBAs7IWoLsRS/Fjhz0lyGXARx+1GwhcYH3VgVhwUQDf OSPQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TXIepoLr6xh9qgVTJivliuOFkSATfVwRu/J3Qc9prjQ=; fh=xEWiNTJ23u+cNY6r9J/dG5eZtHswowtTrDcdFl3rLZM=; b=hPdPKN7MxV4MKP/mDjqapEOJ8GHVotAiMhzV0Vstqf1FaK6bc+HXCWLE2e6Lwa8zL9 XOA/uHqgiMMm3m2SFZO7MTIRZQ6JuEfMHjgdX1/6XWWUv/zbZgbQuNFRUFcnnxx4+D/i 4F1mfxzDg8wWWFRP4Yw+nfy4vQjHSGwZmL5nU2nyA4o8b3qfOYP4lk/Kjt82DdxrSwYi xQR5mhEC3Z9+i3VgGxHzupre1ExZkvcZnQwmub+DmJLdjnW/DoFlUvjB6yT8NmW8QOvr +bZVxI8ppgmr0m+9o3Cj9bBCOXMXBKUHI0D2f/2WlehlaqDWvwLiiEcRfUK8Qc8RHNSU TUGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qmrk2F4r; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63418-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63418-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWis/5VDgAGFvT/DkHDTBFnfqO+11WWQvrsv4vhPUwG1zSqayxkLyxEDZeIHwIlu469ZfvrDWafAPaT78Zm7i6APeh1xA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y2-20020a17090264c200b001d7297b8542si1855951pli.34.2024.02.13.03.28.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:28:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63418-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qmrk2F4r; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63418-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63418-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 34B35B23012 for ; Tue, 13 Feb 2024 11:21:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FDB8381A0; Tue, 13 Feb 2024 11:21:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Qmrk2F4r" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D3E0E3716F; Tue, 13 Feb 2024 11:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823261; cv=none; b=SnSJaBMHsxHr9KH+jpvTIwgj06BA7WWiOTKZcSKQIzQ/lSemJWd3X5/LkBH53D5KHO2lXS+ap330Nb9jgkaH55qYoEEkYNucCSVtHXUKfFQP7OXTU1sBelTYs/GF7ZiNATOL8qq1pQRq4Nraz+FR9im5PRw4jocdS+sRJLyZR9E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823261; c=relaxed/simple; bh=2Ywh4OzY0chZDpnSXV5NPQrPw3P/Ggi/eWmN3vNLbvs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AFKM6fSTXUrfqx7ZFxI+yL/aNP4LiJ6rGRJYDxhUPGwU9cfwmdYSGz+2lbw4FutSohqx1GYQ5obPfU8I4tNyjQ7o839wvG4HOkQ9d9C3RfozwKTCnBI+u95/nQWjB5vQlyJXCDH5DDovfmTjiXqxy9C30U8LkE11r0LmZKTv6Rg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qmrk2F4r; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60626C433C7; Tue, 13 Feb 2024 11:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707823261; bh=2Ywh4OzY0chZDpnSXV5NPQrPw3P/Ggi/eWmN3vNLbvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qmrk2F4rCd2WSIl36Y6lDgYxriYXibf5WUnr64oOngjSxBCVQrpuAlmOY3mQif9++ NsCxVVnhF4vSJmkHAVA9o8MNQjg0B5PCM8nzkP2YZ4VZl4tCbr1tOxdP/5ePHyT4cT 57G8frJcO2TbDcDVtXCPEkjEtYedPNgGW6yO3quk+V0kOe4lSUld4pJmsfl4lly70Z QNlW89CUBsbx5rm3otlRRKbuSRlUOHTu2eS/2Kne+GxrzyJsgfLKDSkldRG/qBxIAi bu9rIvDS9Z5CP0ScTfomqKn68xmrM2uek4Ju5sAPrHIsv0L1rXgGwIGbeZw/eRFxUt yYg4SM0R8q6SQ== From: "Jiri Slaby (SUSE)" To: bp@alien8.de Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Yazen Ghannam , Tony Luck , James Morse , Mauro Carvalho Chehab , Robert Richter , linux-edac@vger.kernel.org Subject: [PATCH 1/7] EDAC/amd64: Remove amd64_pvt::ext_nbcfg Date: Tue, 13 Feb 2024 12:20:45 +0100 Message-ID: <20240213112051.27715-2-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240213112051.27715-1-jirislaby@kernel.org> References: <20240213112051.27715-1-jirislaby@kernel.org> 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: 1790782977655535922 X-GMAIL-MSGID: 1790782977655535922 Commit cfe40fdb4a46 (amd64_edac: add driver header) added amd64_pvt struct with ext_nbcfg in it. But noone used that member since then. Therefore, remove it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Yazen Ghannam Cc: Borislav Petkov Cc: Tony Luck Cc: James Morse Cc: Mauro Carvalho Chehab Cc: Robert Richter Cc: linux-edac@vger.kernel.org Reviewed-by: Yazen Ghannam --- drivers/edac/amd64_edac.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 1665f7932bac..b879b12971e7 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -345,7 +345,6 @@ struct amd64_pvt { u32 dchr1; /* DRAM Configuration High DCT1 reg */ u32 nbcap; /* North Bridge Capabilities */ u32 nbcfg; /* F10 North Bridge Configuration */ - u32 ext_nbcfg; /* Extended F10 North Bridge Configuration */ u32 dhar; /* DRAM Hoist reg */ u32 dbam0; /* DRAM Base Address Mapping reg for DCT0 */ u32 dbam1; /* DRAM Base Address Mapping reg for DCT1 */