android_kernel_oneplus_msm8998/fs/ncpfs
Greg Kroah-Hartman eeb234f7f9 ncpfs: fix build warning of strncpy
Not upstream as ncpfs is long deleted.

Fix up two strncpy build warnings in ncp_get_charsets() by using strscpy
and the max size of the array.

It's not like anyone uses this code anyway, and this gets rid of two
build warnings so that we can see real warnings as they pop up over
time.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-23 08:44:21 +01:00
..
dir.c ncpfs: fix unused variable warning 2018-02-25 11:03:50 +01:00
file.c
getopt.c
getopt.h
inode.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
ioctl.c ncpfs: fix build warning of strncpy 2019-03-23 08:44:21 +01:00
Kconfig
Makefile
mmap.c
ncp_fs.h
ncp_fs_i.h
ncp_fs_sb.h
ncplib_kernel.c staging: ncpfs: memory corruption in ncp_read_kernel() 2018-03-28 18:40:15 +02:00
ncplib_kernel.h
ncpsign_kernel.c
ncpsign_kernel.h
sock.c
symlink.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00