Re: [PATCH 00/27] arch: syscalls: unifiy all syscalltbl.sh into scripts/syscalltbl.sh

From: Masahiro Yamada
Date: Thu Jan 28 2021 - 18:42:51 EST


On Thu, Jan 28, 2021 at 11:03 PM Anatoly Pugachev <matorola@xxxxxxxxx> wrote:
>
> Masahiro,
>
> wanted to test on sparc64, but I'm unable to cleanly apply your patch
> series to current master of
> git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>
> saved in all patches from mutt MUA to mbox (syscalltbl-mbox) file
> format (except of 00/27) and tried to apply via git-am:
>
> $ git desc
> v5.11-rc5-40-g76c057c84d28
>
> $ git am < ~/syscalltbl-mbox
> Applying: xtensa: syscalls: switch to generic syscalltbl.sh

Hmm? Are you applying only xtensa one (27/27) ?


> error: patch failed: arch/xtensa/kernel/syscalls/Makefile:16
> error: arch/xtensa/kernel/syscalls/Makefile: patch does not apply
> Patch failed at 0001 xtensa: syscalls: switch to generic syscalltbl.sh
> hint: Use 'git am --show-current-patch=diff' to see the failed patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
>
> But if take out body of the first patch (xtensa.patch) out of mbox, it

This is the last one, not the first.


> does cleanly applies via "patch -p1"
>
> Can someone suggest how do i apply this patch series to my local git tree?
> Thanks.


I do not know.

I can apply this series on top of the current Linus tree cleanly.




--
Best Regards
Masahiro Yamada