Files
mesa/src/util
Rob Clark 790144e65a util+treewide: container_of() cleanup
Replace mesa's slightly different container_of() with one more aligned
to the linux kernel's version which takes a type as the 2nd param.  This
avoids warnings like:

  freedreno_context.c:396:44: warning: variable 'batch' is uninitialized when used within its own initialization [-Wuninitialized]

At the same time, we can add additional build-time type-checking asserts

Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7941>
2020-12-10 16:48:36 +00:00
..
2020-09-25 20:09:08 +00:00
2020-08-31 09:14:57 +00:00
2020-12-10 16:48:36 +00:00
2020-12-10 16:48:36 +00:00
2020-10-27 15:33:40 -07:00
2020-12-02 10:12:27 -08:00
2020-12-01 07:11:44 +00:00
2020-08-21 18:22:21 +00:00
2020-04-21 11:09:03 -07:00
2020-11-10 15:37:07 +00:00
2020-11-11 06:08:15 +10:00
2020-05-13 23:36:44 +00:00
2020-05-13 23:36:44 +00:00
2020-12-01 10:04:41 +01:00