fcoe: Rename 'fip_frame' to 'fip_vn2vn_notify_frame'
authorHannes Reinecke <hare@suse.de>
Tue, 19 Jul 2016 11:49:39 +0000 (13:49 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 Jul 2016 23:49:02 +0000 (19:49 -0400)
Do not use a generic name to avoid confusions with other usages.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe_ctlr.c

index 26a0685..dd45531 100644 (file)
@@ -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);