[PATCH v2 2/3] drm/mst: Fix error handling during MST sideband message reception

2016-05-13 Thread Imre Deak
Handle any error due to partial reads, timeouts etc. to avoid parsing uninitialized data subsequently. Also bail out if the parsing itself fails. v2: - Remove blank lines before returns to match the rest of file (Lyude) CC: Dave Airlie Signed-off-by: Imre Deak Reviewed-by: Lyude --- drivers/g

[2/3] drm/mst: Fix error handling during MST sideband message reception

2016-05-12 Thread Lyude Paul
On Thu, 2016-05-12 at 16:00 +0300, Imre Deak wrote: > Handle any error due to partial reads, timeouts etc. to avoid parsing > uninitialized data subsequently. Also bail out if the parsing itself > fails. > > CC: Dave Airlie > Signed-off-by: Imre Deak > --- >  drivers/gpu/drm/drm_dp_mst_topology

[PATCH 2/3] drm/mst: Fix error handling during MST sideband message reception

2016-05-12 Thread Imre Deak
Handle any error due to partial reads, timeouts etc. to avoid parsing uninitialized data subsequently. Also bail out if the parsing itself fails. CC: Dave Airlie Signed-off-by: Imre Deak --- drivers/gpu/drm/drm_dp_mst_topology.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-