.git/rebase-apply/patch:66: trailing whitespace. . .git/rebase-apply/patch:98: trailing whitespace. .git/rebase-apply/patch:101: trailing whitespace. .git/rebase-apply/patch:104: trailing whitespace. .git/rebase-apply/patch:107: trailing whitespace. error: corrupt patch at line 275 hint: Use 'git am --show-current-patch=diff' to see the failed patch hint: When you have resolved this problem, run "git am --continue". hint: If you prefer to skip this patch, run "git am --skip" instead. hint: To restore the original branch and stop patching, run "git am --abort". hint: Disable this message with "git config set advice.mergeConflict false" Applying: riscv: Add optimised memrchr implementation using RVV extension Patch failed at 0001 riscv: Add optimised memrchr implementation using RVV extension