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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 17 Nov 2023 14:29:05 -0500
From:   marc.ferland@...il.com
To:     krzysztof.kozlowski@...aro.org
Cc:     gregkh@...uxfoundation.org, marc.ferland@...atest.com,
        jeff.dagenais@...il.com, rdunlap@...radead.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH 3/7] w1: ds2433: rename W1_EEPROM_DS2433

From: Marc Ferland <marc.ferland@...atest.com>

Rename the W1_EEPROM_DS2433 define to W1_F23_EEPROM_DS2433 to make it
clear it is associated with family 0x23.

This is ground work for supporting both the ds2433 and the ds28ec20.

Signed-off-by: Marc Ferland <marc.ferland@...atest.com>
---
 drivers/w1/slaves/w1_ds2433.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/w1/slaves/w1_ds2433.c b/drivers/w1/slaves/w1_ds2433.c
index e1e45ea1bfa4..6b04fdef2923 100644
--- a/drivers/w1/slaves/w1_ds2433.c
+++ b/drivers/w1/slaves/w1_ds2433.c
@@ -22,7 +22,7 @@
 
 #include <linux/w1.h>
 
-#define W1_EEPROM_DS2433	0x23
+#define W1_F23_EEPROM_DS2433	0x23
 
 #define W1_EEPROM_SIZE		512
 #define W1_PAGE_COUNT		16
@@ -296,7 +296,7 @@ static const struct w1_family_ops w1_f23_fops = {
 };
 
 static struct w1_family w1_family_23 = {
-	.fid = W1_EEPROM_DS2433,
+	.fid = W1_F23_EEPROM_DS2433,
 	.fops = &w1_f23_fops,
 };
 
@@ -322,4 +322,4 @@ module_exit(w1_ds2433_exit);
 MODULE_AUTHOR("Ben Gardner <bgardner@...tec.com>");
 MODULE_DESCRIPTION("w1 family 23 driver for DS2433, 4kb EEPROM");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("w1-family-" __stringify(W1_EEPROM_DS2433));
+MODULE_ALIAS("w1-family-" __stringify(W1_F23_EEPROM_DS2433));
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ