Re: [f2fs-dev] [PATCH] f2fs-tools: fix overflow bug of start_sector when computing zone_align_start_offset

2018-05-26 Thread Junling Zheng
No neet to change zone_align_start_offset to u64, because zone_align_start_offset is always smaller than zone_size_bytes, which is u32. Thanks, Junling On 2018/5/26 16:09, Yunlong Song wrote: > zone_align_start_offset should be u64, but config.start_sector is u32, > so it may be overflow when co

[RFC PATCH 1/2] ARM: hisi: fix the indentations in Kconfig

2015-05-03 Thread Junling Zheng
Fix the indentations using tabs instead of spaces to align our code. Signed-off-by: Junling Zheng --- arch/arm/mach-hisi/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 83061ad..a12b764 100644

[RFC PATCH 2/2] ARM: hisi: replace a few spaces with tabs

2015-05-03 Thread Junling Zheng
Replace a few spaces with tabs in mach-hisi to keep the code style. Signed-off-by: Junling Zheng --- arch/arm/mach-hisi/hotplug.c | 4 ++-- arch/arm/mach-hisi/platsmp.c | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-hisi/hotplug.c b/arch/arm/mach

[PATCH 2/2] ARM: hisi: replace a few spaces with tabs

2015-04-01 Thread Junling Zheng
Replace a few spaces with tabs in mach-hisi to keep the code style. Signed-off-by: Junling Zheng --- arch/arm/mach-hisi/hotplug.c | 4 ++-- arch/arm/mach-hisi/platsmp.c | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-hisi/hotplug.c b/arch/arm/mach

[PATCH 1/2] ARM: hisi: fix the indentations in Kconfig

2015-04-01 Thread Junling Zheng
Fix the indentations using tabs instead of spaces to align our code. Signed-off-by: Junling Zheng --- arch/arm/mach-hisi/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 83061ad..a12b764 100644

[PATCH 0/2] ARM: hisi: fix indentations and spaces

2015-04-01 Thread Junling Zheng
These two patches fix the indentations and spaces using tabs to keep the code style. Junling Zheng (2): ARM: hisi: fix the indentations in Kconfig ARM: hisi: replace a few spaces with tabs arch/arm/mach-hisi/Kconfig | 12 ++-- arch/arm/mach-hisi/hotplug.c | 4 ++-- arch/arm/mach