[Precise SRU][PATCH 0/1] Build failure with CONFIG_POWER_SUPPLY=m
Luis Henriques
luis.henriques at canonical.com
Mon May 28 14:38:34 UTC 2012
BugLink: http://bugs.launchpad.net/bugs/1005264
== Precise SRU Justification ==
Current kernel FTBFS if power_supply is set as a module. This has never
been an issue as its built-in into the kernel. It fails with:
"sysfs_create_link_nowarn" [drivers/power/power_supply.ko] undefined!"
as this symbol is not exported into modules.
== Fix ==
Upstream commit 93278d151e7bd35ccd0e083d7f2d8123cbaf36f8 fixes the build
failure.
== Impact ==
Impact shouldn't be very high. Only users building the kernel from source
and setting this as a module.
== Test Case ==
Build the kernel, setting CONFIG_POWER_SUPPLY=m in the configuration.
Anton Vorontsov (1):
power_supply: Drop usage of nowarn variant of sysfs_create_link()
drivers/power/power_supply_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.7.9.5
More information about the kernel-team
mailing list