Re: [PATCH 1/5] perf: fix broken union in perf_event_mmap_page

From: H. Peter Anvin
Date: Tue Jul 16 2013 - 07:52:13 EST


On 06/28/2013 08:22 AM, Peter Zijlstra wrote:
>
> Ick, it did that!? and here I thought there was a difference between:
>
> int foo:1,
> bar:1;
>
> and
>
> int foo:1;
> int bar:1;
>
> That made all the difference in this particular case. I guess I should
> go read the language spec more carefully next time.
>

There is absolutely no difference there...

-hpa

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