]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
scsi: libfc: Fix variable name in fc_set_wwpn
authorFam Zheng <famz@redhat.com>
Fri, 13 Jan 2017 03:40:01 +0000 (11:40 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 16 Jan 2017 20:43:02 +0000 (15:43 -0500)
The parameter name should be wwpn instead of wwnn.

Signed-off-by: Fam Zheng <famz@redhat.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/libfc.h

index 96dd0b3f70d75ba5362eccecdd8c8371627f22a7..da5033dd8cbcab5bff1557452b7a55e888d46c30 100644 (file)
@@ -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;
 }
 
 /**