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: <20250828151648.348612-1-alexander.sverdlin@siemens.com>
Date: Thu, 28 Aug 2025 17:16:42 +0200
From: "A. Sverdlin" <alexander.sverdlin@...mens.com>
To: linux-kernel@...r.kernel.org
Cc: Alexander Sverdlin <alexander.sverdlin@...mens.com>,
	Arnd Bergmann <arnd@...db.de>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	patrick.wicki@...mens.com,
	stable@...r.kernel.org
Subject: [PATCH] eeprom: at25: fram: Fix chip range in comment

From: Alexander Sverdlin <alexander.sverdlin@...mens.com>

The first chip supported by the commented code is CY15B102QN, fix the
copy-paste error.

Cc: stable@...r.kernel.org
Fixes: cf4d2ce1eded ("eeprom: at25: fram: Detect and support inside-out chip variants")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@...mens.com>
---
 drivers/misc/eeprom/at25.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index 2d0492867054f..8d4938e5f213b 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -404,7 +404,7 @@ static int at25_fram_to_chip(struct device *dev, struct spi_eeprom *chip)
 		chip->byte_len = BIT(id[7] - 0x21 + 4) * 1024;
 		break;
 	case 0x2a ... 0x30:
-		/* CY15B116QN ... CY15B116QN */
+		/* CY15B102QN ... CY15B116QN */
 		chip->byte_len = BIT(((id[7] >> 1) & 0xf) + 13);
 		break;
 	default:
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ