third_party_f2fs-tools/mkfs
Bart Van Assche eeba3ae145 mkfs/f2fs_format.c: Suppress a compiler warning
commit 98f7f56cf35c352c1ff3d83ad1e72e5b1e5fdf84
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

Suppress the following compiler warning:

f2fs_format.c:1653:37: warning: adding 'int' to a string does not append to the
      string [-Wstring-plus-int]
                memcpy(dent_blk->filename[3], LPF + F2FS_SLOT_LEN,
                                              ~~~~^~~~~~~~~~~~~~~
f2fs_format.c:1653:37: note: use array indexing to silence this warning
                memcpy(dent_blk->filename[3], LPF + F2FS_SLOT_LEN,
                                                  ^
                                              &   [              ]

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-04-13 14:13:49 +08:00
..
BUILD.gn f2fs_tools部件化 2022-08-23 10:40:59 +08:00
f2fs_format_main.c configure.ac: Detect the sparse/sparse.h header 2023-04-13 14:13:49 +08:00
f2fs_format_utils.c Change the ANDROID_WINDOWS_HOST macro into _WIN32 2023-04-13 14:13:48 +08:00
f2fs_format_utils.h Switch from the u_int to the uint types 2023-04-13 14:13:48 +08:00
f2fs_format.c mkfs/f2fs_format.c: Suppress a compiler warning 2023-04-13 14:13:49 +08:00
Makefile.am lib: pass all needed include paths to libf2fs 2020-06-18 12:34:29 -07:00