[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025031826-scoff-retake-787a@gregkh>
Date: Tue, 18 Mar 2025 14:46:56 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, saeedm@...dia.com,
leon@...nel.org, tariqt@...dia.com, andrew+netdev@...n.ch,
dakr@...nel.org, rafael@...nel.org, przemyslaw.kitszel@...el.com,
anthony.l.nguyen@...el.com, cratiu@...dia.com,
jacob.e.keller@...el.com, konrad.knitter@...el.com,
cjubran@...dia.com
Subject: Re: [PATCH net-next RFC 1/3] faux: extend the creation function for
module namespace
On Tue, Mar 18, 2025 at 01:47:04PM +0100, Jiri Pirko wrote:
> --- a/include/linux/module.h
> +++ b/include/linux/module.h
> @@ -744,7 +744,7 @@ static inline void __module_get(struct module *module)
> /* This is a #define so the string doesn't get put in every .o file */
> #define module_name(mod) \
> ({ \
> - struct module *__mod = (mod); \
> + const struct module *__mod = (mod); \
> __mod ? __mod->name : "kernel"; \
> })
This feels like it should be a separate change, right? Doesn't have to
do with this patch.
greg k-h
Powered by blists - more mailing lists