All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Yet more gcc warnings fixes
@ 2011-07-11 16:15 Juan Quintela
  2011-07-11 16:15 ` [Qemu-devel] [PATCH 1/2] xen_mapcache: remove unused variable Juan Quintela
  2011-07-11 16:15 ` [Qemu-devel] [PATCH 2/2] syscall: pselect arg_sigsize variable was write only Juan Quintela
  0 siblings, 2 replies; 8+ messages in thread
From: Juan Quintela @ 2011-07-11 16:15 UTC (permalink / raw)
  To: qemu-devel

More places that have write only variables.

Once here, why we have clovvered arg7 is a good question (TM)

abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
                    abi_long arg2, abi_long arg3, abi_long arg4,
                    abi_long arg5, abi_long arg6, abi_long arg7,
                    abi_long arg8)
{

	.....
            abi_ulong arg_sigset, *arg7;
	....

Using a different name could be a good idea.

Please, apply.

Later, Juan.

Juan Quintela (2):
  xen_mapcache: remove unused variable
  syscall: pselect arg_sigsize variable was write only

 linux-user/syscall.c |    3 +--
 xen-mapcache.c       |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

-- 
1.7.6

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

end of thread, other threads:[~2011-07-27  9:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 16:15 [Qemu-devel] [PATCH 0/2] Yet more gcc warnings fixes Juan Quintela
2011-07-11 16:15 ` [Qemu-devel] [PATCH 1/2] xen_mapcache: remove unused variable Juan Quintela
2011-07-12 10:19   ` Stefano Stabellini
2011-07-26 14:54   ` Stefan Berger
2011-07-27  9:03   ` Stefan Hajnoczi
2011-07-11 16:15 ` [Qemu-devel] [PATCH 2/2] syscall: pselect arg_sigsize variable was write only Juan Quintela
2011-07-11 16:50   ` Peter Maydell
2011-07-11 19:35   ` Juan Quintela

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.