]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Include reminders about leaving no holes in uAPI enums
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Feb 2019 09:46:28 +0000 (09:46 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Feb 2019 09:46:31 +0000 (09:46 +0000)
commitcaa4ea114e98e7633db7fc6e863884523c53eaad
treea8187cbf99c2d50883731ea2a188c96edb8913b6
parentd448362e3bce610e0bd05da2761388c42f7665e4
drm/i915: Include reminders about leaving no holes in uAPI enums

We don't want to pre-reserve any holes in our uAPI for that is a sign of
nefarious and hidden activity. Add a reminder about our uAPI
expectations to encourage good practice when adding new defines/enums.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190218094628.13522-1-chris@chris-wilson.co.uk
include/uapi/drm/i915_drm.h