]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix build warnings with gcc 7.
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 16:42:46 +0000 (09:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 16:42:46 +0000 (09:42 -0700)
commit490162a3b0bb523c5f3a063b900a485fd58b5ca1
treeaa2ba307fb12f24faf327717a3475de36df033f3
parenta75f05a49b859340164b2be91260dabcdae54820
sparc64: Fix build warnings with gcc 7.

arch/sparc/kernel/ds.c: In function ‘register_services’:
arch/sparc/kernel/ds.c:912:3: error: ‘strcpy’: writing at least 1 byte
into a region of size 0 overflows the destination

Reported-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ds.c