Commit c734de98 authored by Lee Jones's avatar Lee Jones Committed by Martin K. Petersen

scsi: lpfc: Provide description for lpfc_mem_alloc()'s 'align' param

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/lpfc/lpfc_mem.c:85: warning: Function parameter or member 'align' not described in 'lpfc_mem_alloc'

Link: https://lore.kernel.org/r/20200721164148.2617584-29-lee.jones@linaro.org
Cc: James Smart <james.smart@broadcom.com>
Cc: Dick Kennedy <dick.kennedy@broadcom.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: linux-media@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent fc5fba6e
...@@ -68,6 +68,7 @@ lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { ...@@ -68,6 +68,7 @@ lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) {
/** /**
* lpfc_mem_alloc - create and allocate all PCI and memory pools * lpfc_mem_alloc - create and allocate all PCI and memory pools
* @phba: HBA to allocate pools for * @phba: HBA to allocate pools for
* @align: alignment requirement for blocks; must be a power of two
* *
* Description: Creates and allocates PCI pools lpfc_mbuf_pool, * Description: Creates and allocates PCI pools lpfc_mbuf_pool,
* lpfc_hrb_pool. Creates and allocates kmalloc-backed mempools * lpfc_hrb_pool. Creates and allocates kmalloc-backed mempools
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment