kernel_optimize_test/fs/hfsplus
Mathieu Malaterre 29774f3f4e fs/hfsplus/xattr.c: replace strncpy with memcpy
strncpy() was used to copy a fixed size buffer.  Since NUL-terminating
string is not required here, prefer a memcpy function.  The generated
code (ppc32) remains the same.

Silence the following warning triggered using W=1:

  fs/hfsplus/xattr.c:410:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]

Link: http://lkml.kernel.org/r/20190529113341.11972-1-malat@debian.org
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Reviewed-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-07-16 19:23:23 -07:00
..
attributes.c hfsplus: prevent btree data loss on ENOSPC 2018-10-31 08:54:13 -07:00
bfind.c
bitmap.c
bnode.c
brec.c hfsplus: fix BUG on bnode parent update 2018-10-31 08:54:13 -07:00
btree.c hfsplus: do not free node before using 2018-11-30 14:56:14 -08:00
catalog.c hfsplus: prevent btree data loss on ENOSPC 2018-10-31 08:54:13 -07:00
dir.c hfsplus: return file attributes on statx 2019-01-04 13:13:47 -08:00
extents.c hfsplus: fix return value of hfsplus_get_block() 2018-10-31 08:54:13 -07:00
hfsplus_fs.h hfsplus: return file attributes on statx 2019-01-04 13:13:47 -08:00
hfsplus_raw.h
inode.c hfsplus: return file attributes on statx 2019-01-04 13:13:47 -08:00
ioctl.c vfs: create a generic checking and prep function for FS_IOC_SETFLAGS 2019-07-01 08:25:34 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
options.c
part_tbl.c
super.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
tables.c
unicode.c
wrapper.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c fs/hfsplus/xattr.c: replace strncpy with memcpy 2019-07-16 19:23:23 -07:00
xattr.h