gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 11 Oct 2014 22:02:32 +0000 (00:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Oct 2014 09:34:08 +0000 (11:34 +0200)
commitd87af4d10558fedf636e3df1b10dd2954f9e2a78
treec6dbc122aef559e8df39a31e56ef241454244034
parenta1f1a79c51fd493887bb66d932ee66a23f8b1527
gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat

Fixed wrong usage of strncat, switched to strlcpy.
While sending the string size to function to reduce
the potential for misuse in future.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_dp_mst_topology.c