• Lee Jones's avatar
    misc: mic: scif: scif_dma: Fix a couple of kerneldoc issues · 31c68981
    Lee Jones authored
    Firstly demote scif_rma_destroy_tcw()'s header to a standard
    comment as no attempt has been made to document any of the
    function arguments.  Secondly, provide missing description
    for 'prot' for scif_register_temp().
    
    Fixes the following W=1 kernel build warnings:
    
     drivers/misc/mic/scif/scif_dma.c:110: warning: Function parameter or member 'mmn' not described in '__scif_rma_destroy_tcw'
     drivers/misc/mic/scif/scif_dma.c:110: warning: Function parameter or member 'start' not described in '__scif_rma_destroy_tcw'
     drivers/misc/mic/scif/scif_dma.c:110: warning: Function parameter or member 'len' not described in '__scif_rma_destroy_tcw'
     drivers/misc/mic/scif/scif_dma.c:344: warning: Function parameter or member 'prot' not described in 'scif_register_temp'
    
    Cc: Sudeep Dutt <sudeep.dutt@intel.com>
    Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Link: https://lore.kernel.org/r/20200701083118.45744-24-lee.jones@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    31c68981
scif_dma.c 51.7 KB