lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250804112404.6c6e1565@canb.auug.org.au>
Date: Mon, 4 Aug 2025 11:24:04 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Luis Chamberlain <mcgrof@...nel.org>, Petr Pavlu <petr.pavlu@...e.com>,
 Sami Tolvanen <samitolvanen@...gle.com>, Daniel Gomez
 <da.gomez@...sung.com>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>
Subject: Re: linux-next: manual merge of the modules tree with the kbuild
 tree

Hi all,

On Fri, 1 Aug 2025 13:29:41 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Today's linux-next merge of the modules tree got a conflict in:
> 
>   include/linux/moduleparam.h
> 
> between commit:
> 
>   7934a8dd8692 ("module: remove meaningless 'name' parameter from __MODULE_INFO()")
> 
> from the kbuild tree and commit:
> 
>   40a826bd6c82 ("module: Rename MAX_PARAM_PREFIX_LEN to __MODULE_NAME_LEN")
> 
> from the modules tree.
> 
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> diff --cc include/linux/moduleparam.h
> index 00166f747e27,a04a2bc4f51e..000000000000
> --- a/include/linux/moduleparam.h
> +++ b/include/linux/moduleparam.h
> @@@ -17,12 -24,8 +24,9 @@@
>   #define __MODULE_INFO_PREFIX KBUILD_MODNAME "."
>   #endif
>   
> - /* Chosen so that structs with an unsigned long line up. */
> - #define MAX_PARAM_PREFIX_LEN (64 - sizeof(unsigned long))
> - 
>  -#define __MODULE_INFO(tag, name, info)					  \
>  -	static const char __UNIQUE_ID(name)[]				  \
>  +/* Generic info of form tag = "info" */
>  +#define MODULE_INFO(tag, info)					  \
>  +	static const char __UNIQUE_ID(modinfo)[]			  \
>   		__used __section(".modinfo") __aligned(1)		  \
>   		= __MODULE_INFO_PREFIX __stringify(tag) "=" info
>   

This is now a conflict between the kbuild tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ