View | Details | Raw Unified | Return to bug 261453
Collapse All | Expand All

(-)b/sys/dev/ocs_fc/ocs_hw.c (-1 / +5 lines)
Lines 7581-7586 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg Link Here
7581
	int num_descriptors;
7581
	int num_descriptors;
7582
7582
7583
	list = ocs_malloc(hw->os, sizeof(ocs_hw_profile_list_t), OCS_M_ZERO);
7583
	list = ocs_malloc(hw->os, sizeof(ocs_hw_profile_list_t), OCS_M_ZERO);
7584
	if (list == NULL) {
7585
		ocs_log_err(hw->os, "failed to malloc list\n");
7586
		return OCS_HW_RTN_NO_MEMORY;
7587
	}
7588
7584
	list->num_descriptors = response->profile_descriptor_count;
7589
	list->num_descriptors = response->profile_descriptor_count;
7585
7590
7586
	num_descriptors = list->num_descriptors;
7591
	num_descriptors = list->num_descriptors;
7587
- 

Return to bug 261453