mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] modpost: relax driver data name
@ 2006-04-15 18:17 Randy.Dunlap
  2006-04-15 20:23 ` modpost: serial/8250_pci warnings Randy.Dunlap
  2006-04-16  8:55 ` [PATCH] modpost: relax driver data name Sam Ravnborg
  0 siblings, 2 replies; 5+ messages in thread
From: Randy.Dunlap @ 2006-04-15 18:17 UTC (permalink / raw)
  To: lkml; +Cc: akpm, sam

From: Randy Dunlap <rdunlap@xenotime.net>

modpost:  Relax driver data name from *_driver to *driver.
This fixes the 26 section mismatch warnings in drivers/ide/pci.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 scripts/mod/modpost.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2617-rc1g8.orig/scripts/mod/modpost.c
+++ linux-2617-rc1g8/scripts/mod/modpost.c
@@ -487,14 +487,14 @@ static int strrcmp(const char *s, const 
  *   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)
@@ -502,7 +502,7 @@ static int secref_whitelist(const char *
 	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",


---

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-16  8:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-15 18:17 [PATCH] modpost: relax driver data name Randy.Dunlap
2006-04-15 20:23 ` modpost: serial/8250_pci warnings Randy.Dunlap
2006-04-15 21:14   ` Sam Ravnborg
2006-04-15 21:53     ` Russell King
2006-04-16  8:55 ` [PATCH] modpost: relax driver data name Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®