On Fri, Nov 13, 2020 at 1:27 AM Masami Hiramatsu <mhira...@kernel.org> wrote: > > Since Grub may align the size of initrd to 4 if user pass > initrd from cpio, we have to check the preceding 3 bytes as well. > > Fixes: 85c46b78da58 ("bootconfig: Add bootconfig magic word for indicating > bootconfig explicitly") > Reported-by: Chen Yu <yu.chen.s...@gmail.com> > Signed-off-by: Masami Hiramatsu <mhira...@kernel.org> > --- Works for me, thanks! Tested-by: Chen Yu <yu.chen.s...@gmail.com>
Best, Chenyu