Re: [PATCH xf86-video-amdgpu] Use strcpy for RandR output property names

2018-07-23 Thread Abramov, Slava
Reviewed-by: Slava Abramov From: amd-gfx on behalf of Michel Dänzer Sent: Monday, July 23, 2018 12:45:11 PM To: amd-gfx@lists.freedesktop.org Subject: [PATCH xf86-video-amdgpu] Use strcpy for RandR output property names From: Michel Dänzer Instead

[PATCH xf86-video-amdgpu] Use strcpy for RandR output property names

2018-07-23 Thread Michel Dänzer
From: Michel Dänzer Instead of strncpy with the string length. Avoids new warnings with GCC 8: ../../src/drmmode_display.c: In function ‘drmmode_output_create_resources’: ../../src/drmmode_display.c:2240:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a