• Randy Dunlap's avatar
    hwspinlock/core: fix kernel-doc warnings · bcd0f5d1
    Randy Dunlap authored
    Correct function comments to prevent kernel-doc warnings
    found when using "W=1".
    
    hwspinlock_core.c:208: warning: Excess function parameter 'timeout' description in '__hwspin_lock_timeout'
    hwspinlock_core.c:318: warning: Excess function parameter 'bank' description in 'of_hwspin_lock_simple_xlate'
    hwspinlock_core.c:647: warning: Function parameter or member 'hwlock' not described in '__hwspin_lock_request'
    
    and 17 warnings like:
    hwspinlock_core.c:487: warning: No description found for return value of 'hwspin_lock_register'
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Ohad Ben-Cohen <ohad@wizery.com>
    Cc: Bjorn Andersson <andersson@kernel.org>
    Cc: Baolin Wang <baolin.wang7@gmail.com>
    Cc: linux-remoteproc@vger.kernel.org
    Link: https://lore.kernel.org/r/20231206055439.671-1-rdunlap@infradead.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
    bcd0f5d1
hwspinlock_core.c 27.3 KB