On 8/2/25 00:13, Jaegeuk Kim via Linux-f2fs-devel wrote:
> external/f2fs-tools/mkfs/f2fs_format.c:392:31: error: format specifies type 
> 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned int') 
> [-Werror,-Wformat]
>   391 |                         MSG(1, "\tError: Unaligned segment0 start 
> (%u) for zoned LU (zone_blocks: %"PRIu64")\n",
>       |                         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   392 |                                 get_sb(segment0_blkaddr), 
> c.zone_blocks);
>       |                                 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
> external/f2fs-tools/include/f2fs_fs.h:289:18: note: expanded from macro 'MSG'
>   289 |                         printf(fmt, ##__VA_ARGS__);                   
>   \
>       |                                ~~~    ^~~~~~~~~~~
> external/f2fs-tools/mkfs/f2fs_format.c:404:31: error: format specifies type 
> 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned int') 
> [-Werror,-Wformat]
>   402 |                         MSG(1, "\tError: Unaligned start (%"PRIu64") 
> for zoned LU from segment0 (%u) (zone_blocks: %"PRIu64")\n",
>       |                         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   403 |                                 c.devices[1].start_blkaddr,
>       |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   404 |                                 get_sb(segment0_blkaddr), 
> c.zone_blocks);
>       |                                 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
> external/f2fs-tools/include/f2fs_fs.h:289:18: note: expanded from macro 'MSG'
>   289 |                         printf(fmt, ##__VA_ARGS__);                   
>   \
>       |                                ~~~    ^~~~~~~~~~~
> 
> Signed-off-by: Jaegeuk Kim <[email protected]>

Reviewed-by: Chao Yu <[email protected]>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to