FDPIC: For-loop in elf_core_vma_data_size() is incorrect
commit47568d4c56677ede6e7ff7c8e4e0fd860a9c4372
authorDavid Howells <dhowells@redhat.com>
Wed, 24 Mar 2010 17:02:28 +0000 (24 17:02 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Mar 2010 23:43:29 +0000 (24 16:43 -0700)
tree8d8e35252db123fb7a3abf7a5655b8c9669637cc
parent6467a71c56934251f3c917bd4386387c2a97b41e
FDPIC: For-loop in elf_core_vma_data_size() is incorrect

Fix an incorrect for-loop in elf_core_vma_data_size().  The advance-pointer
statement lacks an assignment:

  CC      fs/binfmt_elf_fdpic.o
fs/binfmt_elf_fdpic.c: In function 'elf_core_vma_data_size':
fs/binfmt_elf_fdpic.c:1593: warning: statement with no effect

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf_fdpic.c