Re: [PATCH] smp: fix smp_call_function_single_async prototype

From: Nick Desaulniers
Date: Thu Apr 29 2021 - 14:39:20 EST


On Thu, Apr 29, 2021 at 11:27 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
> Either way, I'll give it some more time on the randconfig build machine
> before I send out v2.

SGTM and thanks for the fix. Perhaps worth a note that this isn't
just "a violation of the calling conventions" but straight up
undefined behavior, full stop.

UBSAN folks are working on adding a catch for this as well:
https://reviews.llvm.org/D100037, see the relevant citations from the
standard.
--
Thanks,
~Nick Desaulniers