Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1557993 > unrolled thread
| Started by | Fam Zheng <famz@redhat.com> |
|---|---|
| First post | 2017-01-13 04:50 +0100 |
| Last post | 2017-01-13 09:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] libfc: Fix variable name in fc_set_wwpn Fam Zheng <famz@redhat.com> - 2017-01-13 04:50 +0100
Re: [PATCH] libfc: Fix variable name in fc_set_wwpn Johannes Thumshirn <jthumshirn@suse.de> - 2017-01-13 09:10 +0100
| From | Fam Zheng <famz@redhat.com> |
|---|---|
| Date | 2017-01-13 04:50 +0100 |
| Subject | [PATCH] libfc: Fix variable name in fc_set_wwpn |
| Message-ID | <sZ12i-4fJ-13@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Johannes Thumshirn <jthumshirn@suse.de> |
|---|---|
| Date | 2017-01-13 09:10 +0100 |
| Message-ID | <sZ55V-6Ta-31@gated-at.bofh.it> |
| In reply to | #1557993 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web