qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c
@ 2012-03-15  8:52 Alex Barcelo
  2012-03-15  8:52 ` [Qemu-devel] [PATCH 1/2] linux-user: Homogeneity on sas_ss_flags checks (signal) Alex Barcelo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alex Barcelo @ 2012-03-15  8:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: Riku Voipio, Alex Barcelo

I tried to send a trivial patch and a v2, but I did it horribly wrong
and seems that have not yet been updated. I thought that maybe
it was a good moment to do things "betterly".

The bug is really a typo, because everywhere there is the same
0 comparison. But each comparison is different one from another, so
the style is quite messed up and the typo becomes non-trivial to
understand.

The first patch is a style patch which makes everything check the
conditions the same way. The second patch corrects a "== 0" that
was missing on an if condition, to be like every other condition.

I sent two "[TRIVIAL]" to the lists that are irrelevant with this
patch. They are:
"sas_ss_flags bug for powerpc"
(v2) "Bad zero comparison for sas_ss_flags on powerpc"

Alex Barcelo (2):
  linux-user: Homogeneity on sas_ss_flags checks (signal)
  linux-user: Bug on a zero comparation with sas_ss_flags

 linux-user/signal.c |   46 ++++++++++++++++++++++++++--------------------
 1 files changed, 26 insertions(+), 20 deletions(-)

-- 
1.7.5.4

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

end of thread, other threads:[~2012-03-15 11:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15  8:52 [Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c Alex Barcelo
2012-03-15  8:52 ` [Qemu-devel] [PATCH 1/2] linux-user: Homogeneity on sas_ss_flags checks (signal) Alex Barcelo
2012-03-15  8:52 ` [Qemu-devel] [PATCH 2/2] linux-user: Bug on a zero comparation with sas_ss_flags Alex Barcelo
2012-03-15 11:41 ` [Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c Stefan Hajnoczi
2012-03-15 11:47   ` Alexander Graf
2012-03-15 11:53     ` Alex Barcelo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).