]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm: Use a flexible array member for blob property data"
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 23 Feb 2018 19:25:01 +0000 (21:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Mar 2018 13:44:01 +0000 (15:44 +0200)
commit8c905e92f1cf7d59692d97e43ca52d35405e1a0d
tree7d3163790f8079d543714f716b4560f13d26f431
parentf5d78872369e6c97b1a8bd475d8452cc9fb5b89d
Revert "drm: Use a flexible array member for blob property data"

Using a flexible array for the blob data was a mistake by me. It
forces all users of the blob data to cast blob->data to something
else. void* is clearly superior so let's go back to the original
scheme.

Not a clean revert as the code has moved.

This reverts commit 8feefe2ab3c6a4e16367ee745cab8eabd74bbb6c.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180223192506.29992-1-ville.syrjala@linux.intel.com
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_property.c
include/drm/drm_property.h