Skip to contentSkip to conversation

libfc: Fix variable name in fc_set_wwpn

PATCH Applied Fam Zheng 3 participants 3 messages Jan 13, 2017 – Jan 16, 2017

Subsystems (2)
lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 libfc: Fix variable name in fc_set_wwpn

The parameter name should be wwpn instead of wwnn.

---
 include/scsi/libfc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/scsi/libfc.h +3 -3
index 96dd0b3..da5033d 100644
@@ -809,11 +809,11 @@ static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn)
 /**
  * fc_set_wwpn() - Set the World Wide Port Name of a local port
  * @lport: The local port whose WWPN is to be set
- * @wwnn:  The new WWPN
+ * @wwpn:  The new WWPN
  */
-static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwnn)
+static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn)
 {
-	lport->wwpn = wwnn;
+	lport->wwpn = wwpn;
 }
 
 /**
Signature · 1 line
2.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Fam Zheng

The parameter name should be wwpn instead of wwnn.

---

Yup, looks good

Signature · 6 lines
Johannes Thumshirn                                          Storage
[email protected]                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
#2 lore raw
In reply to Fam Zheng
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fam" == Fam Zheng <[email protected]> writes:

Fam> The parameter name should be wwpn instead of wwnn.

Applied to 4.10/scsi-fixes.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering