Commit 67d35e70 authored by Fam Zheng's avatar Fam Zheng Committed by Martin K. Petersen

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
......@@ -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;
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment