Re: [PATCH v2] gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat

2014-10-13 Thread Jani Nikula
On Sun, 12 Oct 2014, Rickard Strandqvist wrote: > 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 Reviewed-by: Jani Nikula > --- >

Re: [PATCH v2] gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat

2014-10-13 Thread Jani Nikula
On Sun, 12 Oct 2014, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: 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

[PATCH v2] gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat

2014-10-11 Thread Rickard Strandqvist
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 --- drivers/gpu/drm/drm_dp_mst_topology.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff

[PATCH v2] gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat

2014-10-11 Thread Rickard Strandqvist
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_strandqv...@spectrumdigital.se --- drivers/gpu/drm/drm_dp_mst_topology.c | 15 --- 1 file changed, 8