Re: [PATCH] TRACING: Fix a copmile warning

From: Steven Rostedt
Date: Mon Jul 25 2011 - 21:12:53 EST


On Mon, 2011-07-25 at 21:08 -0400, Arnaud Lacombe wrote:
> Hi,
>

> but the code generated seem to test %esi (`b', potentially
> uninitialized) before %ebx (`a'). Am I still missing something ?

But it tests 'a' again afterward. If 'a' is 0, it doesn't matter what
'b' was. So the uninitialized test is a wash. No harm done, except for
some wasted CPU cycles.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/