Re: [PATCH] kprobes: Use module_name() macro

From: Jarkko Sakkinen
Date: Tue Aug 18 2020 - 12:34:23 EST


On Tue, Aug 18, 2020 at 11:49:56PM +0900, Masami Hiramatsu wrote:
> On Tue, 18 Aug 2020 08:08:57 +0300
> Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> wrote:
>
> > It is advised to use module_name() macro instead of dereferencing mod->name
> > directly. This makes sense for consistencys sake and also it prevents a
> > hard dependency to CONFIG_MODULES.
> >
> > Cc: linux-mm@xxxxxxxxx
> > Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > Cc: Ard Biesheuvel <ardb@xxxxxxxxxx>
> > Cc: Jessica Yu <jeyu@xxxxxxxxxx>
> > Cc: Mark Rutland <mark.rutland@xxxxxxx>,
> > Cc: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> > Cc: Mike Rapoport <rppt@xxxxxxxxxx>
> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Cc: Russell King <linux@xxxxxxxxxxxxxxx>
> > Cc: Will Deacon <will@xxxxxxxxxx>
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>
> OK, this looks good to me.
>
> Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

Great, thank you.

When this might get included to a PR, or at minimum land to linux-next?

Just thinking what to use as the baseline for the next version of my
main series.

BR,
/Jarkko