Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d47c9f5c authored by David S. Miller's avatar David S. Miller Committed by Greg Kroah-Hartman
Browse files

sparc64: Fix build warnings with gcc 7.



commit 0fde7ad71ee371ede73b3f326e58f9e8d102feb6 upstream.

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: default avatarAnatoly Pugachev <matorola@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eab90eda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment