[PATCH v2 2/3] powerpc/powernv: wire up rng during setup_arch

Jason A. Donenfeld Jason at zx2c4.com
Sun Jun 12 00:47:50 AEST 2022


Hi Christophe,

On Sat, Jun 11, 2022 at 4:42 PM Christophe Leroy
<christophe.leroy at csgroup.eu> wrote:
> Same here, the prototype should go in a header file., should be 'void
> __init' (and indeed the __init is pointless in the prototype, only
> matters in the function definition).

I'll change the order, but I don't see a good place for the prototype
other than the .c file. It's not a big deal to keep it there.

>
> Maybe the name should be pnv_rng_init() like the setup arch below.

All the rng.c files are powernv_ prefixed, not pnv_ prefixed.

Jason


More information about the Linuxppc-dev mailing list