[PATCH] RISC-V: hwprobe: Remove __init on probe_vendor_features()

Conor Dooley conor at kernel.org
Fri Apr 21 10:48:34 PDT 2023


Yo Evan,

On Thu, Apr 20, 2023 at 12:49:34PM -0700, Evan Green wrote:
> probe_vendor_features() is now called from smp_callin(), which is not
> __init code and runs during cpu hotplug events. Remove the
> __init_or_module decoration from it and the functions it calls to avoid
> walking into outer space.
> 
> Fixes: 62a31d6e38bd ("RISC-V: hwprobe: Support probing of misaligned access performance")
>

BTW, in the future, no empty line between trailers.

> Signed-off-by: Evan Green <evan at rivosinc.com>

Otherwise,
Reviewed-by: Conor Dooley <conor.dooley at microchip.com>

Thanks,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230421/11f51739/attachment.sig>


More information about the linux-riscv mailing list