Skip to content

git apply this patch to the kernel encountered errors #1

@wskyp

Description

@wskyp

when I fllow the step: git apply --whitespace=nowarn ../BadgerTrap_beta_v1.0/badger_trap.patch, then it print many errors as fllows:
error: patch failed: arch/x86/mm/fault.c:1084
error: arch/x86/mm/fault.c: patch does not apply
error: arch/x86/syscalls/syscall_64.tbl: No such file or directory
error: patch failed: fs/exec.c:1122
error: fs/exec.c: patch does not apply
error: patch failed: include/linux/huge_mm.h:14
error: include/linux/huge_mm.h: patch does not apply
error: patch failed: include/linux/mm.h:177
error: include/linux/mm.h: patch does not apply
error: patch failed: include/linux/mm_types.h:444
error: include/linux/mm_types.h: patch does not apply
error: patch failed: include/linux/sched.h:1411
error: include/linux/sched.h: patch does not apply
error: patch failed: include/linux/syscalls.h:847
error: include/linux/syscalls.h: patch does not apply
error: patch failed: kernel/exit.c:697
error: kernel/exit.c: patch does not apply
error: patch failed: mm/Makefile:17
error: mm/Makefile: patch does not apply
error: patch failed: mm/huge_memory.c:26
error: mm/huge_memory.c: patch does not apply
error: patch failed: mm/hugetlb.c:47
error: mm/hugetlb.c: patch does not apply
error: patch failed: mm/memory.c:2604
error: mm/memory.c: patch does not apply
I don't know how to fix this problem.Does anyone know how to solve it?Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions