Modules changes for v6.11-rc1

This is a super boring development cycle this time around for modules,
 there is only one patch in this pull request. The patch deals with a
 corner case set of dependencies which is not resolved today to ensure
 users get the modules they need on initramfs. Currently only one modules
 is known to exist which needs this, however this can grow to capture
 other corner cases likely escaped and not reported before. The kernel
 change is just a section update, the real work is done and merged
 already on upstream kmod.
 
 This has been on linux-next for 3 weeks now.
 -----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCgAwFiEENnNq2KuOejlQLZofziMdCjCSiKcFAmaf49gSHG1jZ3JvZkBr
 ZXJuZWwub3JnAAoJEM4jHQowkoinVbgQAIJeaI45KJykhCIy6VRHuwfWEqmUMwQN
 Jo3IcaBKbqjiFEDDbHuWBk4BFh3L1m98i5MQukES+uz/zPnSh8cV1gJyAlSn4kEH
 EXYBL6/908jAOKGaD3tKOBM6E/YhwgegnkL6/wtaM5NSx91EbpKA5prb84x3QS/i
 nM03UUPfXFq40kFJMm4M3KnVuBoWh7W3CYO8kgoEY2dnf7R5apIVGUyNTyvb02oA
 PS4AEINyJI8P67IYkBxphB7aKRIiWtzHmvya1XKAZs5pK0aA5TKf1T8HMt+h3qLS
 wl/Plxg27AWHAl5rcZPui2/LRRxpjG/obyQUw7OdIWzt7W9P19aDlfK7HTRb+V3a
 wimMvo0S6u9rTCEB653Fza6trm7PFRHpAC5WYlpSMng1BXTpzipOrJZ8xkk2yuLA
 c7FkDHJ2Szp+P8tvKEpv6CcZSO5+ot2NhUaOOzyWKT9+cU+Zcudh/Cg+rPpyRbKj
 Cu3scjAkBAKz6gCNLQNEu7vAotzg3m5q7/n1AZ3BPpjpV5RYYZZ9C8jSZvXKQmOb
 QPgGoIfyabCq0h5E3mHBL/nXHLCzCF6vpHYkkbfIMvwQp52CHgsSASd4I6zEW49/
 80zh94xQbn8cC6o1u1bxML9afF/MPjOOWVVpVkgQz7oKr/vK5mrDr5bpNLggqd6S
 yaZPKEgPd7Dx
 =W9pF
 -----END PGP SIGNATURE-----

Merge tag 'modules-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux

Pull module update from Luis Chamberlain:
 "This is a super boring development cycle this time around for modules,
  there is only one patch in this pull request.

  The patch deals with a corner case set of dependencies which is not
  resolved today to ensure users get the module they need on initramfs.
  Currently only one module is known to exist which needs this, however
  this can grow to capture other corner cases likely escaped and not
  reported before. The kernel change is just a section update, the real
  work is done and merged already on upstream kmod.

  This has been on linux-next for 3 weeks now"

* tag 'modules-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
  module: create weak dependecies
This commit is contained in:
Linus Torvalds 2024-07-23 11:43:40 -07:00
commit f488790059

View File

@ -173,6 +173,12 @@ extern void cleanup_module(void);
*/
#define MODULE_SOFTDEP(_softdep) MODULE_INFO(softdep, _softdep)
/*
* Weak module dependencies. See man modprobe.d for details.
* Example: MODULE_WEAKDEP("module-foo")
*/
#define MODULE_WEAKDEP(_weakdep) MODULE_INFO(weakdep, _weakdep)
/*
* MODULE_FILE is used for generating modules.builtin
* So, make it no-op when this is being built as a module