Re: [merged mm-nonmm-stable] gcov-clang-use-correct-function-param-names.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 15, 2025 at 9:48 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> The quilt patch titled
>      Subject: gcov: clang: use correct function param names
> has been removed from the -mm tree.  Its filename was
>      gcov-clang-use-correct-function-param-names.patch
>
> This patch was dropped because it was merged into the mm-nonmm-stable branch
> of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
>
> ------------------------------------------------------
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Subject: gcov: clang: use correct function param names
> Date: Fri, 10 Jan 2025 22:29:44 -0800
>
> Fix the function parameter names to match the function so that
> the kernel-doc warnings disappear.
>
> clang.c:273: warning: Function parameter or struct member 'dst' not described in 'gcov_info_add'
> clang.c:273: warning: Function parameter or struct member 'src' not described in 'gcov_info_add'
> clang.c:273: warning: Excess function parameter 'dest' description in 'gcov_info_add'
> clang.c:273: warning: Excess function parameter 'source' description in 'gcov_info_add'
>
> Link: https://lkml.kernel.org/r/20250111062944.910638-1-rdunlap@xxxxxxxxxxxxx
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Peter Oberparleiter <oberpar@xxxxxxxxxxxxx>
> Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
> Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> Cc: Bill Wendling <morbo@xxxxxxxxxx>
> Cc: Justin Stitt <justinstitt@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
>
>  kernel/gcov/clang.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- a/kernel/gcov/clang.c~gcov-clang-use-correct-function-param-names
> +++ a/kernel/gcov/clang.c
> @@ -264,10 +264,10 @@ int gcov_info_is_compatible(struct gcov_
>
>  /**
>   * gcov_info_add - add up profiling data
> - * @dest: profiling data set to which data is added
> - * @source: profiling data set which is added
> + * @dst: profiling data set to which data is added
> + * @src: profiling data set which is added
>   *
> - * Adds profiling counts of @source to @dest.
> + * Adds profiling counts of @src to @dst.
>   */
>  void gcov_info_add(struct gcov_info *dst, struct gcov_info *src)
>  {

Reviewed-by: Bill Wendling <morbo@xxxxxxxxxx>

> _
>
> Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxxx are
>
>





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux