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 switch generic_write_checks() to iocb and iter 2015-04-11 22:30:21 -04:00
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 ncpfs: use file_inode() 2014-11-19 13:01:25 -05:00
ncp_fs.h
ncp_fs_i.h ncpfs: get rid of d_validate() nonsense 2015-01-25 23:16:26 -05:00
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 ncpfs: switch to ->read_iter/->write_iter 2015-04-11 22:28:52 -04:00
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