[PATCH libdrm 5/8] Fix aliasing and switch-enum warnings
Emil Velikov
emil.l.velikov at gmail.com
Fri Mar 13 16:15:41 PDT 2015
On 27 February 2015 at 18:07, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
> tests/exynos/exynos_fimg2d_test.c | 3 +++
> tests/modeprint/modeprint.c | 1 +
> xf86drmMode.c | 2 +-
> 3 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
> index dc7c5cb..ba8d12c 100644
> --- a/tests/exynos/exynos_fimg2d_test.c
> +++ b/tests/exynos/exynos_fimg2d_test.c
> @@ -273,6 +273,7 @@ static int g2d_copy_test(struct exynos_device *dev, struct exynos_bo *src,
> src_img.user_ptr[0].userptr = userptr;
> src_img.user_ptr[0].size = size;
> break;
> + case G2D_IMGBUF_COLOR:
> default:
> type = G2D_IMGBUF_GEM;
> break;
> @@ -356,6 +357,7 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev,
> src_img.user_ptr[0].userptr = userptr;
> src_img.user_ptr[0].size = size;
> break;
> + case G2D_IMGBUF_COLOR:
> default:
> type = G2D_IMGBUF_GEM;
> break;
> @@ -444,6 +446,7 @@ static int g2d_blend_test(struct exynos_device *dev,
> src_img.user_ptr[0].userptr = userptr;
> src_img.user_ptr[0].size = size;
> break;
> + case G2D_IMGBUF_COLOR:
> default:
> type = G2D_IMGBUF_GEM;
> break;
Hi Inki, Joonyoung
The above hunks look good imho, although a quick ack from an Exynos
person would be appreciated :-)
Cheers,
Emil
More information about the dri-devel
mailing list