From mboxrd@z Thu Jan 1 00:00:00 1970 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 E56D718859F; Wed, 25 Sep 2024 11:45:53 +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=1727264754; cv=none; b=rtW3qMY2K6LgKgwPQ1tnOo/RAG8CswIqj/9PpZMcERtPTsUMkUQG4p9hapCDrVzfG18unkH3862aLaOz0Gf38vJ21tgbSACLnfS+hvqNI7CFSHuej7hVJBllBc7/vtO410NThEfA5qZ7NI3x5L1N23FRMuP3DXrDypMpqXLObU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727264754; c=relaxed/simple; bh=PVqW7TtDbvhf11U/Tzj8Y84GMR5alsGy/6n8mfUubrI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=l5dhyRgpwYs0+8oIdmvNg0XMWC5lwQvwVHBFXs7UgHYYjnqhgZNDRk7skECMWMqQIr6SLUPd4SkdlxHsbTpSNb6//cyTMbqFxx/KkZXZW3H5gDHdea9GzwsO0x8Mp+kOq6xgGOXpKzPCxMcc1mopbH2ZZwjS7syPtEBSDLE3Bbg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WsjEUbs0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WsjEUbs0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAA56C4CEC3; Wed, 25 Sep 2024 11:45:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727264753; bh=PVqW7TtDbvhf11U/Tzj8Y84GMR5alsGy/6n8mfUubrI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WsjEUbs06lHZx21CzTgh0CZiGm+loLH44SnIWy/XwpVfyZeCE035fTbBsL0a6ncbI FOU4dbveApbO081iNByxHO5onBzSFej1gYW5r9OROxNtu15GTXA8jBl8xHq0OafYVF romTIz22hdL/UvSvCIFOAck02gEgubS+6eQVAf6LtZ5XYarbGrq/wHdaaJs7eg1y94 1aVkz+qgvYF4raTlEYK3BSiKy0BZF4RcaNG51Qqm/8/3AamINaGUignVjmzlKossV3 ZsgiuVyWowhlNg+Y3x75vWbbz4AbOKYrn/Nb5m084TAPKfW+AiltRxjta3Fd+BghnY xUjmBJsqhipjw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Damien Le Moal , Niklas Cassel , Igor Pylypiv , Sasha Levin , linux-ide@vger.kernel.org Subject: [PATCH AUTOSEL 6.11 146/244] ata: sata_sil: Rename sil_blacklist to sil_quirks Date: Wed, 25 Sep 2024 07:26:07 -0400 Message-ID: <20240925113641.1297102-146-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240925113641.1297102-1-sashal@kernel.org> References: <20240925113641.1297102-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.11 Content-Transfer-Encoding: 8bit From: Damien Le Moal [ Upstream commit 93b0f9e11ce511353c65b7f924cf5f95bd9c3aba ] Rename the array sil_blacklist to sil_quirks as this name is more neutral and is also consistent with how this driver define quirks with the SIL_QUIRK_XXX flags. Signed-off-by: Damien Le Moal Reviewed-by: Niklas Cassel Reviewed-by: Igor Pylypiv Signed-off-by: Sasha Levin --- drivers/ata/sata_sil.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c index cc77c02482843..df095659bae0f 100644 --- a/drivers/ata/sata_sil.c +++ b/drivers/ata/sata_sil.c @@ -128,7 +128,7 @@ static const struct pci_device_id sil_pci_tbl[] = { static const struct sil_drivelist { const char *product; unsigned int quirk; -} sil_blacklist [] = { +} sil_quirks[] = { { "ST320012AS", SIL_QUIRK_MOD15WRITE }, { "ST330013AS", SIL_QUIRK_MOD15WRITE }, { "ST340017AS", SIL_QUIRK_MOD15WRITE }, @@ -600,8 +600,8 @@ static void sil_thaw(struct ata_port *ap) * list, and apply the fixups to only the specific * devices/hosts/firmwares that need it. * - * 20040111 - Seagate drives affected by the Mod15Write bug are blacklisted - * The Maxtor quirk is in the blacklist, but I'm keeping the original + * 20040111 - Seagate drives affected by the Mod15Write bug are quirked + * The Maxtor quirk is in sil_quirks, but I'm keeping the original * pessimistic fix for the following reasons... * - There seems to be less info on it, only one device gleaned off the * Windows driver, maybe only one is affected. More info would be greatly @@ -620,9 +620,9 @@ static void sil_dev_config(struct ata_device *dev) ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num)); - for (n = 0; sil_blacklist[n].product; n++) - if (!strcmp(sil_blacklist[n].product, model_num)) { - quirks = sil_blacklist[n].quirk; + for (n = 0; sil_quirks[n].product; n++) + if (!strcmp(sil_quirks[n].product, model_num)) { + quirks = sil_quirks[n].quirk; break; } -- 2.43.0