Re: [PATCH] riscv: unaligned: Fix check_vector_unaligned_access() stub name

Jesse Taube <[email protected]> Thu, 30 Jul 2026 10:15:19 -0400
Newsgroups org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel
Message-ID <CADRr4bcMNe5K=W=vfqqM2nWVj-H02QadHaQS_QjO9D4htwT_fw@mail.gmail.com>
On Thu, Jul 30, 2026 at 9:19 AM Nam Cao <[email protected]> wrote:
>
> When CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS=n, the no-op stub for
> check_vector_unaligned_access() has the wrong name and causes compile
> failure.
>
> Correct the name.
>
> Fixes: f54d193db5da ("riscv: unaligned: stop using kthread for check_vector_unaligned_access()")
> Reported-by: kernel test robot <[email protected]>
> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Nam Cao <[email protected]>
Reviewed-by: Jesse Taube <[email protected]>

> ---
> This patch can also be squashed to f54d193db5da.
Agreed

Thanks,
Jesse Taube

> ---
>  arch/riscv/kernel/unaligned_access_speed.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/kernel/unaligned_access_speed.c b/arch/riscv/kernel/unaligned_access_speed.c
> index 5212aa99771e..6e35bca568de 100644
> --- a/arch/riscv/kernel/unaligned_access_speed.c
> +++ b/arch/riscv/kernel/unaligned_access_speed.c
> @@ -288,7 +288,7 @@ static void check_vector_unaligned_access(struct work_struct *work __always_unus
>  }
>
>  #else /* CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS */
> -static void check_unaligned_access_speed(struct work_struct *work __always_unused)
> +static void check_vector_unaligned_access(struct work_struct *work __always_unused)
>  {
>  }
>  #endif
> --
> 2.47.3
>


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv