Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge branch 'rc-fixes' of git://…


Pull build system failure fix from Michal Marek:
 "This fixes build failure with newer gcc that adds some internal
  symbols that end in "__mod_*_device_table", but are not actually the
  tables themselves."

* 'rc-fixes' of git://
  Fix modpost failures in fedora 17
  • Loading branch information...
2 parents d2da626 + e88aa7b commit 4d634ca35a8b38530b134ae92bc9e3cc9c23c030 @torvalds committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/mod/file2alias.c
4 scripts/mod/file2alias.c
@@ -1100,6 +1100,10 @@ void handle_moddevtable(struct module *mod, struct elf_info *info,
if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections)
+ /* We're looking for an object */
+ if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT)
+ return;
/* All our symbols are of form <prefix>__mod_XXX_device_table. */
name = strstr(symname, "__mod_");
if (!name)

0 comments on commit 4d634ca

Please sign in to comment.
Something went wrong with that request. Please try again.