git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compal-laptop: Check return value of power_supply_register
[pandora-kernel.git]
/
lib
/
bug.c
diff --git
a/lib/bug.c
b/lib/bug.c
index
7cdfad8
..
1955209
100644
(file)
--- a/
lib/bug.c
+++ b/
lib/bug.c
@@
-72,8
+72,8
@@
static const struct bug_entry *module_find_bug(unsigned long bugaddr)
return NULL;
}
return NULL;
}
-
int
module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
- struct module *mod)
+
void
module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
+
struct module *mod)
{
char *secstrings;
unsigned int i;
{
char *secstrings;
unsigned int i;
@@
-97,8
+97,6
@@
int module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
* could potentially lead to deadlock and thus be counter-productive.
*/
list_add(&mod->bug_list, &module_bug_list);
* could potentially lead to deadlock and thus be counter-productive.
*/
list_add(&mod->bug_list, &module_bug_list);
-
- return 0;
}
void module_bug_cleanup(struct module *mod)
}
void module_bug_cleanup(struct module *mod)