Skip to content
Snippets Groups Projects
Commit 67d35e70 authored by Fam Zheng's avatar Fam Zheng Committed by Martin K. Petersen
Browse files

scsi: libfc: Fix variable name in fc_set_wwpn


The parameter name should be wwpn instead of wwnn.

Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Acked-by: default avatarJohannes Thumshirn <jth@kernel.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent cd60be49
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment