lkml.org 
[lkml]   [2020]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 28/40] scsi: lpfc: lpfc_mem: Provide description for lpfc_mem_alloc()'s 'align' param
    Date
    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'

    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>
    ---
    drivers/scsi/lpfc/lpfc_mem.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/scsi/lpfc/lpfc_mem.c b/drivers/scsi/lpfc/lpfc_mem.c
    index e8c0066eb4aaf..27ff67e9edae7 100644
    --- a/drivers/scsi/lpfc/lpfc_mem.c
    +++ b/drivers/scsi/lpfc/lpfc_mem.c
    @@ -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
    * @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,
    * lpfc_hrb_pool. Creates and allocates kmalloc-backed mempools
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-21 19:10    [W:5.269 / U:0.188 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site