diff options
author | Simon Ser <simon.ser@intel.com> | 2019-04-26 16:55:40 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-04-29 17:27:30 +0300 |
commit | ab54de9937678583437eee4546bc25a9885b87a6 (patch) | |
tree | bd478c4a87180c9e1de877ef7df0eb0335aeb713 /include/drm-uapi/r128_drm.h | |
parent | b3fe990dd7ef25fa8f8e47b04fb7522942c6668d (diff) |
lib/igt_audio: fix filemode not specified in open(O_CREAT)
open(3) takes va_args after the flags and O_CREAT will read the first one. If
we don't provide one, this is undefined behaviour.
(Someone reported it broke the build for them)
Signed-off-by: Simon Ser <simon.ser@intel.com>
Fixes: 311baff151f9 ("tests/kms_chamelium: add dp-audio test")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'include/drm-uapi/r128_drm.h')
0 files changed, 0 insertions, 0 deletions