aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-02-02 15:48:47 +0000
committerSteve French <[email protected]>2018-02-07 15:36:41 +0000
commitade7db991b47ab3016a414468164f4966bd08202 (patch)
tree6425c03317799ce8b50da72e880a96243f4d5283 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentAdd some missing debug fields in server and tcon structs (diff)
downloadkernel-ade7db991b47ab3016a414468164f4966bd08202.tar.gz
kernel-ade7db991b47ab3016a414468164f4966bd08202.zip
cifs: silence compiler warnings showing up with gcc-8.0.0
This bug was fixed before, but came up again with the latest compiler in another function: fs/cifs/cifssmb.c: In function 'CIFSSMBSetEA': fs/cifs/cifssmb.c:6362:3: error: 'strncpy' offset 8 is out of the bounds [0, 4] [-Werror=array-bounds] strncpy(parm_data->list[0].name, ea_name, name_len); Let's apply the same fix that was used for the other instances. Fixes: b2a3ad9ca502 ("cifs: silence compiler warnings showing up with gcc-4.7.0") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions