Project

General

Profile

Feature #3322

Updated by Denis Efremov over 12 years ago

If you export __init functions to modules, section mismatch warning is raised generated during compilation but only when     CONFIG_DEBUG_SECTION_MISMATCH=y. 

 compilation.  

 1) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f1930a2983ab28c65a51a5169b7540f898309824 

 2) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=9613afc36a3114b776d7b09877060062cd3e4d89 

 3) In this case the change is not explicitly described, but you can see it in the diff. 
 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=b8bdc1d0cfc488ac0d94724639f9a61b0a5a1d40

Back