Blame SOURCES/0010-sff-8636-Fix-incorrect-function-name.patch

2a1b01
From dc4a75242e8674da02a579e6c875ad4ac77a8c20 Mon Sep 17 00:00:00 2001
2a1b01
From: Ido Schimmel <idosch@nvidia.com>
2a1b01
Date: Fri, 1 Oct 2021 18:06:25 +0300
2a1b01
Subject: [PATCH 10/35] sff-8636: Fix incorrect function name
2a1b01
2a1b01
The specification is called SFF-8636, not SFF-6836.
2a1b01
2a1b01
Rename the function accordingly.
2a1b01
2a1b01
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
2a1b01
---
2a1b01
 qsfp.c | 6 +++---
2a1b01
 1 file changed, 3 insertions(+), 3 deletions(-)
2a1b01
2a1b01
diff --git a/qsfp.c b/qsfp.c
2a1b01
index 263cf188377d..3401db84352d 100644
2a1b01
--- a/qsfp.c
2a1b01
+++ b/qsfp.c
2a1b01
@@ -820,7 +820,7 @@ static void sff8636_show_dom(const __u8 *id, const __u8 *page_three, __u32 eepro
2a1b01
 }
2a1b01
 
2a1b01
 
2a1b01
-static void sff6836_show_page_zero(const __u8 *id)
2a1b01
+static void sff8636_show_page_zero(const __u8 *id)
2a1b01
 {
2a1b01
 	sff8636_show_ext_identifier(id);
2a1b01
 	sff8636_show_connector(id);
2a1b01
@@ -866,7 +866,7 @@ void sff8636_show_all(const __u8 *id, __u32 eeprom_len)
2a1b01
 	if ((id[SFF8636_ID_OFFSET] == SFF8024_ID_QSFP) ||
2a1b01
 		(id[SFF8636_ID_OFFSET] == SFF8024_ID_QSFP_PLUS) ||
2a1b01
 		(id[SFF8636_ID_OFFSET] == SFF8024_ID_QSFP28)) {
2a1b01
-		sff6836_show_page_zero(id);
2a1b01
+		sff8636_show_page_zero(id);
2a1b01
 		sff8636_show_dom(id, id + 3 * 0x80, eeprom_len);
2a1b01
 	}
2a1b01
 }
2a1b01
@@ -875,7 +875,7 @@ void sff8636_show_all_paged(const struct ethtool_module_eeprom *page_zero,
2a1b01
 			    const struct ethtool_module_eeprom *page_three)
2a1b01
 {
2a1b01
 	sff8636_show_identifier(page_zero->data);
2a1b01
-	sff6836_show_page_zero(page_zero->data);
2a1b01
+	sff8636_show_page_zero(page_zero->data);
2a1b01
 	if (page_three)
2a1b01
 		sff8636_show_dom(page_zero->data, page_three->data - 0x80,
2a1b01
 				 ETH_MODULE_SFF_8636_MAX_LEN);
2a1b01
-- 
2a1b01
2.35.1
2a1b01