Bug 102141 - stmmac_platform: Unknown symbol devm_kmalloc (err 0)
Summary: stmmac_platform: Unknown symbol devm_kmalloc (err 0)
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-30 17:12 UTC by Igor Raits
Modified: 2015-07-31 15:17 UTC (History)
2 users (show)

See Also:
Kernel Version: kernel-4.2.0-0.rc4.git3.1.fc24
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Igor Raits 2015-07-30 17:12:51 UTC
stmmac_platform: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
stmmac_platform: Unknown symbol devm_kmalloc (err 0)
stmmac_platform: Unknown symbol stmmac_suspend (err 0)
stmmac_platform: Unknown symbol platform_get_irq_byname (err 0)
stmmac_platform: Unknown symbol stmmac_dvr_remove (err 0)
stmmac_platform: Unknown symbol platform_get_resource (err 0)
stmmac_platform: Unknown symbol of_get_phy_mode (err 0)
stmmac_platform: Unknown symbol of_property_read_u32_array (err 0)
stmmac_platform: Unknown symbol of_alias_get_id (err 0)
stmmac_platform: Unknown symbol stmmac_resume (err 0)
stmmac_platform: Unknown symbol stmmac_dvr_probe (err 0)

It works perfetcly with 4.1.2 release.
Comment 1 Igor Raits 2015-07-30 17:29:33 UTC
I'm trying to use stmmac within cubietruck (sunxi).

i think it worked within 4.1.2 because it had separade sunxi driver, now it is in stmmac.
Comment 2 Peter Robinson 2015-07-31 15:14:28 UTC
There wasn't a separate driver in < 4.1 but there has been some re-factoring that landed in 4.2 [0] that broke it, I suspect the patch author didn't test it with a modular build. I'm looking at it when I get the time but I'm hoping someone will fix it upstream 

[0] http://www.spinics.net/lists/netdev/msg328997.html
Comment 3 Igor Raits 2015-07-31 15:17:14 UTC
(In reply to Peter Robinson from comment #2)
> There wasn't a separate driver in < 4.1 but there has been some re-factoring
> that landed in 4.2 [0] that broke it, I suspect the patch author didn't test
> it with a modular build. I'm looking at it when I get the time but I'm
> hoping someone will fix it upstream 
> 
> [0] http://www.spinics.net/lists/netdev/msg328997.html

yes, I sent this bug also to maillist and when Joachim Eastwood will have a patch - I will test it.

http://thread.gmane.org/gmane.linux.network/372237

Note You need to log in before you can comment on or make changes to this bug.