Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 1/2] fcoe: Rename 'fip_frame' to 'fip_vn2vn_notify_frame'
@ 2016-07-19 11:49 Hannes Reinecke
  2016-07-19 11:49 ` [PATCH 2/2] fcoe: implement FIP VLAN responder Hannes Reinecke
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hannes Reinecke @ 2016-07-19 11:49 UTC (permalink / raw)
  To: Johannes Thumshirn
  Cc: Martin K. Petersen, James Bottomley, Christoph Hellwig,
	linux-scsi, Hannes Reinecke, Hannes Reinecke

Do not use a generic name to avoid confusions with other
usages.

Signed-off-by: Hannes Reinecke <hare@suse.com>
---
 drivers/scsi/fcoe/fcoe_ctlr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index 26a0685..dd45531 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -1989,7 +1989,7 @@ static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip,
 			      const u8 *dest, size_t min_len)
 {
 	struct sk_buff *skb;
-	struct fip_frame {
+	struct fip_vn2vn_probe_frame {
 		struct ethhdr eth;
 		struct fip_header fip;
 		struct fip_mac_desc mac;
@@ -2016,7 +2016,7 @@ static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip,
 	if (!skb)
 		return;
 
-	frame = (struct fip_frame *)skb->data;
+	frame = (struct fip_vn2vn_probe_frame *)skb->data;
 	memset(frame, 0, len);
 	memcpy(frame->eth.h_dest, dest, ETH_ALEN);
 
-- 
1.8.5.6


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

end of thread, other threads:[~2016-07-20 23:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 11:49 [PATCH 1/2] fcoe: Rename 'fip_frame' to 'fip_vn2vn_notify_frame' Hannes Reinecke
2016-07-19 11:49 ` [PATCH 2/2] fcoe: implement FIP VLAN responder Hannes Reinecke
2016-07-19 12:04   ` Johannes Thumshirn
2016-07-20 23:50   ` Martin K. Petersen
2016-07-19 11:50 ` [PATCH 1/2] fcoe: Rename 'fip_frame' to 'fip_vn2vn_notify_frame' Johannes Thumshirn
2016-07-20 23:50 ` 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