kernel/module-verify.c:63:15: warning: unused variable 'secsize'
PATCH 23/27 kernel/module-verify.c:63:15: warning: unused variable 'secsize'
Hi David,
There are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-modsign.git modsign head: 88883f815418ff31af0e71ece672656ef75a5e88 commit: 0e3a9d4eb0e62a7133409aaf371f82dedf57bc9e [23/27] MODSIGN: Check the ELF container
All warnings:
kernel/module-verify.c: In function 'module_verify_elf':kernel/module-verify.c:63:15: warning: unused variable 'secsize' [-Wunused-variable]
vim +63 kernel/module-verify.c
60 const Elf_Shdr *section, *secstop;
61 const Elf_Sym *symbols, *symbol, *symstop;
62 const char *strtab;Quoted 1 line
63
size_tsize, secsize, secstrsize, strsize, notesize, notemetasize;
64 unsigned line;
65
66 size = mvdata->size;---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <[email protected]> Intel Corporation
Quoted 10 lines · Fengguang Wu
There are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-modsign.git modsign head: 88883f815418ff31af0e71ece672656ef75a5e88 commit: 0e3a9d4eb0e62a7133409aaf371f82dedf57bc9e [23/27] MODSIGN: Check the ELF containerAll warnings:
kernel/module-verify.c: In function 'module_verify_elf':kernel/module-verify.c:63:15: warning: unused variable 'secsize' [-Wunused-variable]
Okay. Dealt with that. The fix was in the next patch.
The new version is pushed and will appear at some point when kernel.org feels like it.
David