libfc: Fix variable name in fc_set_wwpn
Subsystems (2)
PATCH 1/1 libfc: Fix variable name in fc_set_wwpn
The parameter name should be wwpn instead of wwnn.
Signed-off-by Fam Zheng <[email protected]>
--- include/scsi/libfc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/scsi/libfc.h +3 -3
@@ -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; }/**
Signature · 1 line
2.9.3
Quoted 4 lines · Fam Zheng
The parameter name should be wwpn instead of wwnn.
Signed-off-by Fam Zheng <[email protected]>---
Yup, looks good
Signature · 6 lines
Johannes Thumshirn Storage [email protected] +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
Martin K. Petersen
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fam" == Fam Zheng <[email protected]> writes:
Fam> The parameter name should be wwpn instead of wwnn.
Applied to 4.10/scsi-fixes.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering