lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241023085945.1391366-1-colin.i.king@gmail.com>
Date: Wed, 23 Oct 2024 09:59:45 +0100
From: Colin Ian King <colin.i.king@...il.com>
To: Shravan Kumar Ramani <shravankr@...dia.com>,
	Borislav Petkov <bp@...en8.de>,
	Tony Luck <tony.luck@...el.com>,
	James Morse <james.morse@....com>,
	Mauro Carvalho Chehab <mchehab@...nel.org>,
	Robert Richter <rric@...nel.org>,
	linux-edac@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH][next] EDAC/bluefield: Fix spelling mistake "syndrom" -> "syndrome"

There are a couple of variables and a edac_mc_handle_error message
that contain spelling mistakes. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@...il.com>
---
 drivers/edac/bluefield_edac.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/edac/bluefield_edac.c b/drivers/edac/bluefield_edac.c
index 739132e5ed8a..82586e90cacf 100644
--- a/drivers/edac/bluefield_edac.c
+++ b/drivers/edac/bluefield_edac.c
@@ -176,7 +176,7 @@ static void bluefield_gather_report_ecc(struct mem_ctl_info *mci,
 {
 	struct bluefield_edac_priv *priv = mci->pvt_info;
 	u32 dram_additional_info, err_prank, edea0, edea1;
-	u32 ecc_latch_select, dram_syndrom, serr, derr, syndrom;
+	u32 ecc_latch_select, dram_syndrome, serr, derr, syndrome;
 	enum hw_event_mc_err_type ecc_type;
 	u64 ecc_dimm_addr;
 	int ecc_dimm, err;
@@ -198,13 +198,13 @@ static void bluefield_gather_report_ecc(struct mem_ctl_info *mci,
 	 * same type as the one asked to report. If not, just report the
 	 * error without the detailed information.
 	 */
-	err = bluefield_edac_readl(priv, MLXBF_SYNDROM, &dram_syndrom);
+	err = bluefield_edac_readl(priv, MLXBF_SYNDROM, &dram_syndrome);
 	if (err)
-		dev_err(priv->dev, "DRAM syndrom read failed.\n");
+		dev_err(priv->dev, "DRAM syndrome read failed.\n");
 
-	serr = FIELD_GET(MLXBF_SYNDROM__SERR, dram_syndrom);
-	derr = FIELD_GET(MLXBF_SYNDROM__DERR, dram_syndrom);
-	syndrom = FIELD_GET(MLXBF_SYNDROM__SYN, dram_syndrom);
+	serr = FIELD_GET(MLXBF_SYNDROM__SERR, dram_syndrome);
+	derr = FIELD_GET(MLXBF_SYNDROM__DERR, dram_syndrome);
+	syndrome = FIELD_GET(MLXBF_SYNDROM__SYN, dram_syndrome);
 
 	if ((is_single_ecc && !serr) || (!is_single_ecc && !derr)) {
 		edac_mc_handle_error(ecc_type, mci, error_cnt, 0, 0, 0,
@@ -233,7 +233,7 @@ static void bluefield_gather_report_ecc(struct mem_ctl_info *mci,
 	edac_mc_handle_error(ecc_type, mci, error_cnt,
 			     PFN_DOWN(ecc_dimm_addr),
 			     offset_in_page(ecc_dimm_addr),
-			     syndrom, ecc_dimm, 0, 0, mci->ctl_name, "");
+			     syndrome, ecc_dimm, 0, 0, mci->ctl_name, "");
 }
 
 static void bluefield_edac_check(struct mem_ctl_info *mci)
-- 
2.39.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ