aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/fcoe/fcoe_ctlr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index 26a0685c74d1..dd455312de41 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,
1989 const u8 *dest, size_t min_len) 1989 const u8 *dest, size_t min_len)
1990{ 1990{
1991 struct sk_buff *skb; 1991 struct sk_buff *skb;
1992 struct fip_frame { 1992 struct fip_vn2vn_probe_frame {
1993 struct ethhdr eth; 1993 struct ethhdr eth;
1994 struct fip_header fip; 1994 struct fip_header fip;
1995 struct fip_mac_desc mac; 1995 struct fip_mac_desc mac;
@@ -2016,7 +2016,7 @@ static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip,
2016 if (!skb) 2016 if (!skb)
2017 return; 2017 return;
2018 2018
2019 frame = (struct fip_frame *)skb->data; 2019 frame = (struct fip_vn2vn_probe_frame *)skb->data;
2020 memset(frame, 0, len); 2020 memset(frame, 0, len);
2021 memcpy(frame->eth.h_dest, dest, ETH_ALEN); 2021 memcpy(frame->eth.h_dest, dest, ETH_ALEN);
2022 2022