All of lore.kernel.org
 help / color / mirror / Atom feed
* [modsign:modsign 23/27] kernel/module-verify.c:63:15: warning: unused variable 'secsize'
@ 2012-07-17 17:42 Fengguang Wu
  2012-07-17 19:35 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-07-17 17:42 UTC (permalink / raw)
  To: kernel-janitors

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;
  > 63		size_t size, 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 <wfg@linux.intel.com>                     Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [modsign:modsign 23/27] kernel/module-verify.c:63:15: warning: unused variable 'secsize'
  2012-07-17 17:42 [modsign:modsign 23/27] kernel/module-verify.c:63:15: warning: unused variable 'secsize' Fengguang Wu
@ 2012-07-17 19:35 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2012-07-17 19:35 UTC (permalink / raw)
  To: kernel-janitors

Fengguang Wu <fengguang.wu@intel.com> wrote:

> 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]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-17 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-17 17:42 [modsign:modsign 23/27] kernel/module-verify.c:63:15: warning: unused variable 'secsize' Fengguang Wu
2012-07-17 19:35 ` David Howells

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.