[PATCH libdrm] Make sure the second argument to container_of() is initialized

2016-08-03 Thread Michel Dänzer
On 03.08.2016 02:49, Nicolai Hähnle wrote: > On 02.08.2016 12:08, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Fixes warnings and miscompilation resulting in crashes with clang. > > How annoying. Seems like this would affect most (current and future) > uses of container_of, and so it

[PATCH libdrm] Make sure the second argument to container_of() is initialized

2016-08-03 Thread Rob Clark
On Wed, Aug 3, 2016 at 4:56 AM, Michel Dänzer wrote: > On 03.08.2016 02:49, Nicolai Hähnle wrote: >> On 02.08.2016 12:08, Michel Dänzer wrote: >>> From: Michel Dänzer >>> >>> Fixes warnings and miscompilation resulting in crashes with clang. >> >> How annoying. Seems like this would affect

[PATCH libdrm] Make sure the second argument to container_of() is initialized

2016-08-02 Thread Nicolai Hähnle
On 02.08.2016 12:08, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes warnings and miscompilation resulting in crashes with clang. How annoying. Seems like this would affect most (current and future) uses of container_of, and so it would be better to switch to the Linux kernel version of

[PATCH libdrm] Make sure the second argument to container_of() is initialized

2016-08-02 Thread Michel Dänzer
From: Michel Dänzer Fixes warnings and miscompilation resulting in crashes with clang. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94249 Signed-off-by: Michel Dänzer --- amdgpu/amdgpu_vamgr.c | 2 +- util_double_list.h| 10 +- 2 files changed,

[PATCH libdrm] Make sure the second argument to container_of() is initialized

2016-08-02 Thread Alex Deucher
On Tue, Aug 2, 2016 at 6:08 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes warnings and miscompilation resulting in crashes with clang. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94249 > Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher > --- >