Re: [Mesa-dev] [PATCH] egl/wayland: bail out when drmGetMagic fails

2018-11-23 Thread Eric Engestrom
On Friday, 2018-11-23 12:59:52 +, Emil Velikov wrote: > From: Emil Velikov > > Currently as the function fails, we pass uninitialized data to the > authentication function. Stop doing that and print an warning when > the function fails. > > Cc: mesa-sta...@lists.freedesktop.org >

Re: [Mesa-dev] [PATCH] egl/wayland: bail out when drmGetMagic fails

2018-11-23 Thread Tapani Pälli
Similar warning is done in platform_x11.c; Reviewed-by: Tapani Pälli On 11/23/18 2:59 PM, Emil Velikov wrote: From: Emil Velikov Currently as the function fails, we pass uninitialized data to the authentication function. Stop doing that and print an warning when the function fails. Cc:

[Mesa-dev] [PATCH] egl/wayland: bail out when drmGetMagic fails

2018-11-23 Thread Emil Velikov
From: Emil Velikov Currently as the function fails, we pass uninitialized data to the authentication function. Stop doing that and print an warning when the function fails. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Emil Velikov --- src/egl/drivers/dri2/platform_wayland.c | 5 -