[Precise SRU][PATCH 0/1] Build failure with CONFIG_POWER_SUPPLY=m

Anca Emanuel anca.emanuel at gmail.com
Mon May 28 22:21:06 UTC 2012


On Mon, May 28, 2012 at 5:38 PM, Luis Henriques
<luis.henriques at canonical.com> wrote:
> 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
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

This style is wrong. You are duplicating Ben Hutchings efforts.
Somebody need to talk to Debian.




More information about the kernel-team mailing list