File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ void fnic_fcoe_start_fcf_discovery(struct fnic *fnic)
200
200
return ;
201
201
}
202
202
203
- memset (iport -> selected_fcf .fcf_mac , 0 , ETH_ALEN );
203
+ eth_zero_addr (iport -> selected_fcf .fcf_mac );
204
204
205
205
pdisc_sol = (struct fip_discovery * ) frame ;
206
206
* pdisc_sol = (struct fip_discovery ) {
@@ -588,12 +588,12 @@ void fnic_common_fip_cleanup(struct fnic *fnic)
588
588
if (!is_zero_ether_addr (iport -> fpma ))
589
589
vnic_dev_del_addr (fnic -> vdev , iport -> fpma );
590
590
591
- memset (iport -> fpma , 0 , ETH_ALEN );
591
+ eth_zero_addr (iport -> fpma );
592
592
iport -> fcid = 0 ;
593
593
iport -> r_a_tov = 0 ;
594
594
iport -> e_d_tov = 0 ;
595
- memset (fnic -> iport .fcfmac , 0 , ETH_ALEN );
596
- memset (iport -> selected_fcf .fcf_mac , 0 , ETH_ALEN );
595
+ eth_zero_addr (fnic -> iport .fcfmac );
596
+ eth_zero_addr (iport -> selected_fcf .fcf_mac );
597
597
iport -> selected_fcf .fcf_priority = 0 ;
598
598
iport -> selected_fcf .fka_adv_period = 0 ;
599
599
iport -> selected_fcf .ka_disabled = 0 ;
You can’t perform that action at this time.
0 commit comments