Re: [PATCH v3 1/3] tools/bootconfig: Fix to check the write failure correctly
From: Chen Yu
Date: Tue Nov 17 2020 - 07:10:37 EST
On Tue, Nov 17, 2020 at 5:53 PM Masami Hiramatsu <mhiramat@xxxxxxxxxx> 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 magic word for indicating bootconfig explicitly")
> Suggested-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
For [1/3] and [2/3]
Tested-by: Chen Yu <yu.chen.surf@xxxxxxxxx>
--
Thanks,
Chenyu