projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9872fb1
)
parisc: module: Mark symindex __maybe_unused
author
Helge Deller
<deller@gmx.de>
Fri, 30 Jun 2023 10:30:19 +0000
(12:30 +0200)
committer
Helge Deller
<deller@gmx.de>
Fri, 30 Jun 2023 15:14:14 +0000
(17:14 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/module.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/module.c
b/arch/parisc/kernel/module.c
index f6e38c4d390499292b0e1a71b7078ec6b5678d0f..d214bbe3c2afc19b436618f729ece46d3ea3199e 100644
(file)
--- a/
arch/parisc/kernel/module.c
+++ b/
arch/parisc/kernel/module.c
@@
-845,7
+845,7
@@
int module_finalize(const Elf_Ehdr *hdr,
const char *strtab = NULL;
const Elf_Shdr *s;
char *secstrings;
- int symindex = -1;
+ int symindex
__maybe_unused
= -1;
Elf_Sym *newptr, *oldptr;
Elf_Shdr *symhdr = NULL;
#ifdef DEBUG