[PATCH 06/17] lpfc: NVME Initiator: Base modifications Part E

James Smart jsmart2021 at gmail.com
Wed Jan 18 18:14:35 PST 2017



On 1/17/2017 11:34 PM, Hannes Reinecke wrote:
> Is this ever reset?
> I don't see it here ...

the lpfc_sli4_hba_setup(), which resets the function and reinits, clears 
the flag.

>
> [ .. ]
>> @@ -4380,9 +4469,12 @@ lpfc_sli_chipset_init(struct lpfc_hba *phba)
>>    * configured.
>>    **/
>>   int
>> -lpfc_sli_hbq_count(void)
>> +lpfc_sli_hbq_count(struct lpfc_hba *phba)
>>   {
>> -	return ARRAY_SIZE(lpfc_hbq_defs);
>> +	int i;
>> +
>> +	i = ARRAY_SIZE(lpfc_hbq_defs);
>> +	return i;
>>   }
>>   
>>   /**
> The point of this change being ...?

I don't know - will collapse it.

-- james





More information about the Linux-nvme mailing list