[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHmME9rZSbvxaWQbVX6C001SUbkS3ryyAJds6KYu-42uhuN7tQ@mail.gmail.com>
Date: Sat, 11 Jun 2022 16:47:50 +0200
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Michael Ellerman <mpe@...erman.id.au>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: [PATCH v2 2/3] powerpc/powernv: wire up rng during setup_arch
Hi Christophe,
On Sat, Jun 11, 2022 at 4:42 PM Christophe Leroy
<christophe.leroy@...roup.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
Powered by blists - more mailing lists