diff mbox

libfc: Fix variable name in fc_set_wwpn

Message ID 20170113034001.29202-1-famz@redhat.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Fam Zheng Jan. 13, 2017, 3:40 a.m. UTC
The parameter name should be wwpn instead of wwnn.

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 include/scsi/libfc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Johannes Thumshirn Jan. 13, 2017, 8:09 a.m. UTC | #1
On Fri, Jan 13, 2017 at 11:40:01AM +0800, Fam Zheng wrote:
> The parameter name should be wwpn instead of wwnn.
> 
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---

Yup, looks good
Acked-by: Johannes Thumshirn <jth@kernel.org>
Martin K. Petersen Jan. 16, 2017, 8:43 p.m. UTC | #2
>>>>> "Fam" == Fam Zheng <famz@redhat.com> writes:

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

Applied to 4.10/scsi-fixes.
diff mbox

Patch

diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index 96dd0b3..da5033d 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -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;
 }
 
 /**