cam_entry_format = kzalloc(sizeof(*cam_entry_format), GFP_KERNEL);
if (!cam_entry_format)
return HALMAC_RET_NULL_POINTER;
- memset(cam_entry_format, 0x00, sizeof(*cam_entry_format));
cam_entry_format->key_id = cam_entry_info->key_id;
cam_entry_format->valid = cam_entry_info->valid;
cam_entry_format = kzalloc(sizeof(*cam_entry_format), GFP_KERNEL);
if (!cam_entry_format)
return HALMAC_RET_NULL_POINTER;
- memset(cam_entry_format, 0x00, sizeof(*cam_entry_format));
for (i = 0; i < 8; i++) {
HALMAC_REG_WRITE_32(halmac_adapter, REG_CAMWRITE,
/* out of memory */
return HALMAC_RET_MALLOC_FAIL;
}
- memset(eeprom_mask_updated, 0x00, eeprom_mask_size);
status = halmac_update_eeprom_mask_88xx(halmac_adapter, pg_efuse_info,
eeprom_mask_updated);
return HALMAC_RET_MALLOC_FAIL;
}
- memset(rsvd_page, 0x00,
- h2c_pkt_verify_size +
- halmac_adapter->hw_config_info.txdesc_size);
-
ret_status = halmac_dump_fifo_88xx(
halmac_adapter, HAL_FIFO_SEL_RSVD_PAGE, 0,
h2c_pkt_verify_size +