• Randy Dunlap's avatar
    bcachefs: mean and variance: fix kernel-doc for function params · 92038825
    Randy Dunlap authored
    Add missing function parameter descriptions in mean_and_variance.c.
    The also eliminates the "Excess function parameter" warnings.
    
    Prevents these kernel-doc warnings:
    
    mean_and_variance.c:67: warning: Function parameter or member 's' not described in 'mean_and_variance_get_mean'
    mean_and_variance.c:78: warning: Function parameter or member 's1' not described in 'mean_and_variance_get_variance'
    mean_and_variance.c:94: warning: Function parameter or member 's' not described in 'mean_and_variance_get_stddev'
    mean_and_variance.c:108: warning: Function parameter or member 's' not described in 'mean_and_variance_weighted_update'
    mean_and_variance.c:108: warning: Function parameter or member 'x' not described in 'mean_and_variance_weighted_update'
    mean_and_variance.c:108: warning: Excess function parameter 's1' description in 'mean_and_variance_weighted_update'
    mean_and_variance.c:108: warning: Excess function parameter 's2' description in 'mean_and_variance_weighted_update'
    mean_and_variance.c:134: warning: Function parameter or member 's' not described in 'mean_and_variance_weighted_get_mean'
    mean_and_variance.c:143: warning: Function parameter or member 's' not described in 'mean_and_variance_weighted_get_variance'
    mean_and_variance.c:153: warning: Function parameter or member 's' not described in 'mean_and_variance_weighted_get_stddev'
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Kent Overstreet <kent.overstreet@linux.dev>
    Cc: Brian Foster <bfoster@redhat.com>
    Cc: linux-bcachefs@vger.kernel.org
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    92038825
mean_and_variance.c 4.97 KB