Forráskód Böngészése

kbuild: fix comment in modpost.c

There is some confusion on naming of the head section.
Correct naming is .head.text.

Fix comment so we use correct naming.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Sam Ravnborg 16 éve
szülő
commit
c993971f4a
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      scripts/mod/modpost.c

+ 1 - 2
scripts/mod/modpost.c

@@ -928,8 +928,7 @@ static int section_mismatch(const char *fromsec, const char *tosec)
  *           *probe_one, *_console, *_timer
  *
  * Pattern 3:
- *   Whitelist all refereces from .text.head to .init.data
- *   Whitelist all refereces from .text.head to .init.text
+ *   Whitelist all references from .head.text to any init section
  *
  * Pattern 4:
  *   Some symbols belong to init section but still it is ok to reference