mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
5c5c31ca6b
commit 70e4139665cbcb7bde42cf004267dd97268f61b7 category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao <dongsenhao2@huawei.com> --------------------------------------- This patch prevents that older compilers report the following warning: f2fs_format.c: In function ‘f2fs_prepare_super_block’: ../include/f2fs_fs.h:350:26: error: conversion from ‘unsigned int’ to ‘__uint16_t’ {aka ‘short unsigned int’} changes value from ‘4076150800’ to ‘8208’ [-Werror=overflow] 350 | #define F2FS_SUPER_MAGIC 0xF2F52010 /* F2FS Magic Number */ | ^~~~~~~~~~ ../include/f2fs_fs.h:574:49: note: in expansion of macro ‘cpu_to_le16’ 574 | #define set_sb_le16(member, val) (sb->member = cpu_to_le16(val)) | ^~~~~~~~~~~ Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: dongsenhao <dongsenhao2@huawei.com> |
||
---|---|---|
.. | ||
android_config.h | ||
f2fs_fs.h | ||
quota.h |