commit | bf3719c04ee3322b0f6d13c078e3ca4c3b7e3ead | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Mon Jul 14 12:13:18 2014 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jul 18 15:39:29 2014 +0200 |
tree | 4e3e1ad856993e300fb62d0a3d5d1451efd4bba3 | |
parent | 7389ad4b6515c2de6402bfafdfebf0b319790d16 [diff] |
drm/dp-mst-helper: Don't use uninitialized fields of the sideband message header We could be using uninitialized fields of the header in drm_dp_encode_sideband_msg_hdr(), for instance hdr->somt is set to 1 in the first patcket but never set to 0 otherwise. Always clear the header at the start then. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>