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


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to