[Intel-gfx] [PATCH] drm/i915/ddi: Silence compiler warning for unknown output type

Jani Nikula jani.nikula at linux.intel.com
Mon Apr 4 09:52:00 UTC 2016


On Mon, 04 Apr 2016, Joonas Lahtinen <joonas.lahtinen at linux.intel.com> wrote:
> Well, enumeration values *known* not to be acceptable should cause a
> ERR_PTR(-EINVAL) or along that route, and there should be a
> MISSING_CASE for rest totally unexpected values.

In this case, they're all the same. No use returning errors when this
shouldn't happen to begin with.

J.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list