Re: [PATCH v3 1/3] tools/bootconfig: Fix to check the write failure correctly

2020-11-18 Thread Steven Rostedt
On Wed, 18 Nov 2020 22:37:08 +0900 Masami Hiramatsu wrote: > BTW, I found another bug in bootconfig error handling. > Steve, did you already pick this series? If not yet, I will update the seires > to add that fix. No, I was about to pull it in today. I'll wait for your new series. Thanks!

Re: [PATCH v3 1/3] tools/bootconfig: Fix to check the write failure correctly

2020-11-18 Thread Masami Hiramatsu
On Tue, 17 Nov 2020 20:10:10 +0800 Chen Yu wrote: > On Tue, Nov 17, 2020 at 5:53 PM Masami Hiramatsu wrote: > > > > Fix to check the write(2) failure including partial write > > correctly and try to rollback the partial write, because > > if there is no BOOTCONFIG_MAGIC string, we can not

Re: [PATCH v3 1/3] tools/bootconfig: Fix to check the write failure correctly

2020-11-17 Thread Chen Yu
On Tue, Nov 17, 2020 at 5:53 PM Masami Hiramatsu wrote: > > Fix to check the write(2) failure including partial write > correctly and try to rollback the partial write, because > if there is no BOOTCONFIG_MAGIC string, we can not remove it. > > Fixes: 85c46b78da58 ("bootconfig: Add bootconfig

[PATCH v3 1/3] tools/bootconfig: Fix to check the write failure correctly

2020-11-17 Thread Masami Hiramatsu
Fix to check the write(2) failure including partial write correctly and try to rollback the partial write, because if there is no BOOTCONFIG_MAGIC string, we can not remove it. Fixes: 85c46b78da58 ("bootconfig: Add bootconfig magic word for indicating bootconfig explicitly") Suggested-by: Linus