Re: [PATCH v5 08/13] module: Move kmemleak support to a separate file

From: Aaron Tomlin
Date: Fri Feb 11 2022 - 10:42:18 EST


On Thu 2022-02-10 13:07 +0000, Christophe Leroy wrote:
> CHECK: Alignment should match open parenthesis
> #48: FILE: kernel/module/debug_kmemleak.c:13:
> +void kmemleak_load_module(const struct module *mod,
> + const struct load_info *info)

Ok.

> > +static inline void __maybe_unused kmemleak_load_module(const struct module *mod,
> > + const struct load_info *info) { }
>
> Remove __maybe_unused, not needed for a 'static inline' in the .h

Agreed.

Thanks for your feedback Christophe.


Kind regards,

--
Aaron Tomlin