Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
}

/**