Build failure with 3.2.0-25.40 - ERROR: "sysfs_create_link_nowarn" [drivers/power/power_supply.ko] undefined!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Luis Henriques | ||
Precise |
Fix Released
|
Medium
|
Luis Henriques | ||
Quantal |
Fix Released
|
Medium
|
Luis Henriques |
Bug Description
== 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_
as this symbol is not exported into modules.
== Fix ==
Upstream commit 93278d151e7bd35
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_
=======
When building 3.2.0-25.40 with make-kpkg I get the following error:
ERROR: "sysfs_
which I believe is caused by the commits pulled in to fix https:/
The symbol sysfs_create_
From 93278d151e7bd35
From: Anton Vorontsov <email address hidden>
Date: Thu, 5 Jan 2012 19:17:25 +0400
Subject: [PATCH] power_supply: Drop usage of nowarn variant of
sysfs_
The function is not exported to modules, plus we do want to catch anyone
who tries to create complex hierarchy (in that case we'd need to change
'powers' symlink to a directory, probably under a different name to not
break ABI).
This patch fixes the following build error:
ERROR: "sysfs_
Reported-by: Stephen Rothwell <email address hidden>
Signed-off-by: Anton Vorontsov <email address hidden>
---
drivers/
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/
index bc82f95..6ad6127 100644
--- a/drivers/
+++ b/drivers/
@@ -159,7 +159,7 @@ EXPORT_
int power_supply_
{
- return sysfs_create_
+ return sysfs_create_
}
EXPORT_
--
1.7.9.5
CVE References
Changed in linux (Ubuntu): | |
assignee: | nobody → Luis Henriques (henrix) |
description: | updated |
Changed in linux (Ubuntu Precise): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Quantal): | |
status: | Triaged → Fix Released |
Changed in linux (Ubuntu Precise): | |
assignee: | nobody → Luis Henriques (henrix) |
Changed in linux (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Quantal): | |
importance: | Undecided → Medium |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1005264
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.