linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libfc: Fix variable name in fc_set_wwpn
@ 2017-01-13  3:40 Fam Zheng
  2017-01-13  8:09 ` Johannes Thumshirn
  2017-01-16 20:43 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Fam Zheng @ 2017-01-13  3:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: famz, Johannes Thumshirn, linux-scsi, James E.J. Bottomley,
	Martin K. Petersen, fcoe-devel

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(-)

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;
 }
 
 /**
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libfc: Fix variable name in fc_set_wwpn
  2017-01-13  3:40 [PATCH] libfc: Fix variable name in fc_set_wwpn Fam Zheng
@ 2017-01-13  8:09 ` Johannes Thumshirn
  2017-01-16 20:43 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Thumshirn @ 2017-01-13  8:09 UTC (permalink / raw)
  To: Fam Zheng
  Cc: linux-kernel, Johannes Thumshirn, linux-scsi,
	James E.J. Bottomley, Martin K. Petersen, fcoe-devel

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>

-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libfc: Fix variable name in fc_set_wwpn
  2017-01-13  3:40 [PATCH] libfc: Fix variable name in fc_set_wwpn Fam Zheng
  2017-01-13  8:09 ` Johannes Thumshirn
@ 2017-01-16 20:43 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2017-01-16 20:43 UTC (permalink / raw)
  To: Fam Zheng
  Cc: linux-kernel, Johannes Thumshirn, linux-scsi,
	James E.J. Bottomley, Martin K. Petersen, fcoe-devel

>>>>> "Fam" == Fam Zheng <famz@redhat.com> writes:

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

Applied to 4.10/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-16 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-13  3:40 [PATCH] libfc: Fix variable name in fc_set_wwpn Fam Zheng
2017-01-13  8:09 ` Johannes Thumshirn
2017-01-16 20:43 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).