Re: [PATCH] Don't deref the sample pointer in the wl_container_of macro

2014-02-05 Thread Kristian Høgsberg
On Tue, Feb 04, 2014 at 02:21:48PM +, Neil Roberts wrote: > The previous implementation of the wl_container_of macro was > dereferencing the sample pointer in order to get an address of the > member to calculate the offset. Ideally this shouldn't cause any > problems because the dereference doe

[PATCH] Don't deref the sample pointer in the wl_container_of macro

2014-02-04 Thread Neil Roberts
The previous implementation of the wl_container_of macro was dereferencing the sample pointer in order to get an address of the member to calculate the offset. Ideally this shouldn't cause any problems because the dereference doesn't actually cause the address to be read from so it shouldn't matter