Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0db25245
Commit
0db25245
authored
Jan 30, 2010
by
Uwe Kleine-König
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modpost: don't allow *driver to reference .init.*
Signed-off-by:
Uwe Kleine-König
<
u.kleine-koenig@pengutronix.de
>
parent
af92a82d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
scripts/mod/modpost.c
scripts/mod/modpost.c
+10
-1
No files found.
scripts/mod/modpost.c
View file @
0db25245
...
...
@@ -862,10 +862,19 @@ const struct sectioncheck sectioncheck[] = {
},
{
.
fromsec
=
{
DATA_SECTIONS
,
NULL
},
.
tosec
=
{
ALL_INIT_SECTIONS
,
NULL
},
.
tosec
=
{
ALL_
XXX
INIT_SECTIONS
,
NULL
},
.
mismatch
=
DATA_TO_ANY_INIT
,
.
symbol_white_list
=
{
DEFAULT_SYMBOL_WHITE_LIST
,
NULL
},
},
{
.
fromsec
=
{
DATA_SECTIONS
,
NULL
},
.
tosec
=
{
INIT_SECTIONS
,
NULL
},
.
mismatch
=
DATA_TO_ANY_INIT
,
.
symbol_white_list
=
{
"*_template"
,
"*_timer"
,
"*_sht"
,
"*_ops"
,
"*_probe"
,
"*_probe_one"
,
"*_console"
,
NULL
},
},
{
.
fromsec
=
{
TEXT_SECTIONS
,
NULL
},
.
tosec
=
{
ALL_EXIT_SECTIONS
,
NULL
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment