summaryrefslogtreecommitdiff
path: root/tools/gpio
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-03-06 18:48:49 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-03-07 18:28:34 +0200
commit100bc0d9963b506d4f1f0936c1d8ed17d214ef30 (patch)
tree5f2e7670238b68a845688b8f48e65a712ecb94c4 /tools/gpio
parent51abc97658b954d357f6107885a3b069f497c7ff (diff)
downloadlwn-100bc0d9963b506d4f1f0936c1d8ed17d214ef30.tar.gz
lwn-100bc0d9963b506d4f1f0936c1d8ed17d214ef30.zip
drm: Reject bad property flag combinations
Pimp drm_property_type_valid() to check for more fails with the property flags. Also make the check before adding the property, and bail out if things look bad. Since we're now chekcing for more than the type let's also change the function name to drm_property_flags_valid(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180306164849.2862-6-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/gpio')
0 files changed, 0 insertions, 0 deletions