Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26544
b: refs/heads/master
c: 72ee59b
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Sam Ravnborg committed Apr 30, 2006
1 parent ffcd929 commit 5eccc1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fca1dff218163ffd34d1e9e0b9b244e8c8803601
refs/heads/master: 72ee59b5797e5d6fe32b5cf3473660a50a02db40
6 changes: 3 additions & 3 deletions trunk/scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,22 +487,22 @@ static int strrcmp(const char *s, const char *sub)
* atsym =__param*
*
* Pattern 2:
* Many drivers utilise a *_driver container with references to
* Many drivers utilise a *driver container with references to
* add, remove, probe functions etc.
* These functions may often be marked __init and we do not want to
* warn here.
* the pattern is identified by:
* tosec = .init.text | .exit.text | .init.data
* fromsec = .data
* atsym = *_driver, *_template, *_sht, *_ops, *_probe, *probe_one
* atsym = *driver, *_template, *_sht, *_ops, *_probe, *probe_one
**/
static int secref_whitelist(const char *tosec, const char *fromsec,
const char *atsym)
{
int f1 = 1, f2 = 1;
const char **s;
const char *pat2sym[] = {
"_driver",
"driver",
"_template", /* scsi uses *_template a lot */
"_sht", /* scsi also used *_sht to some extent */
"_ops",
Expand Down

0 comments on commit 5eccc1a

Please sign in to comment.