summaryrefslogtreecommitdiffstats
path: root/sound/pci/via82xx.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-17 12:18:56 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-02 11:24:53 +0200
commit4e0f5e916f7f4623b312e4fcf9f9fe45c4bea290 (patch)
tree244efbb9e77204c3dc7789f7c47d18cc309d8c4f /sound/pci/via82xx.c
parents390/dasd,zfcp: fix gcc 8 stringop-truncation warnings (diff)
downloadlinux-4e0f5e916f7f4623b312e4fcf9f9fe45c4bea290.tar.xz
linux-4e0f5e916f7f4623b312e4fcf9f9fe45c4bea290.zip
s390/dasd: fix gcc 8 stringop-truncation warning
drivers/s390/block/dasd_alias.c:711:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy((char *) &cqr->magic, "ECKD", 4); Replace strncpy to int as a buffer with memcpy. Acked-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'sound/pci/via82xx.c')
0 files changed, 0 insertions, 0 deletions