Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Lee Jones and committed by
Martin K. Petersen
c734de98 fc5fba6e

+1
+1
drivers/scsi/lpfc/lpfc_mem.c
··· 68 68 /** 69 69 * lpfc_mem_alloc - create and allocate all PCI and memory pools 70 70 * @phba: HBA to allocate pools for 71 + * @align: alignment requirement for blocks; must be a power of two 71 72 * 72 73 * Description: Creates and allocates PCI pools lpfc_mbuf_pool, 73 74 * lpfc_hrb_pool. Creates and allocates kmalloc-backed mempools