drm/i915/tv: fix strncpy truncation warning
authorDominique Martinet <asmadeus@codewreck.org>
Thu, 12 Jul 2018 07:41:03 +0000 (08:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Jul 2018 09:18:19 +0000 (10:18 +0100)
commitd6b4ea866b8117c1c4a048e2e2dadf0c83776a84
tree4096ba77e117ec2ddca4ce4abde56082a686e037
parent91045034d53eb37b93a3ddd20f25883d9a40b100
drm/i915/tv: fix strncpy truncation warning

Change it to use strlcpy instead

Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180712074103.21571-1-chris@chris-wilson.co.uk
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_tv.c