OSDN Git Service

tests/exynos: handle G2D_IMGBUF_COLOR in switch statements
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Fri, 12 Jun 2015 18:15:14 +0000 (20:15 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Jun 2015 18:19:23 +0000 (19:19 +0100)
commit2bf0d5bf63cda5a0abd79f2fd4b5737cb852b476
treeb53f918ad4e272a6bcd009df7cf5b93e773f27fb
parentb26c8efb6566e78d12a93fee7c01f6857e07f611
tests/exynos: handle G2D_IMGBUF_COLOR in switch statements

This fixes a compiler warning about missing handling of enum
values in the switch statements.

Also remove the silent mapping to G2D_IMGBUF_GEM when an
unknown buffer type is encountered. We have full control
about the type here, and if it's unknown then we obviously
have a bug in the code.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/exynos/exynos_fimg2d_test.c