I modified a patch file according a new diff , and did make my project, always errors as below:
Applying patch platform/740-MIPS-ath79-lp-wr934x-fixes.patch~
patching file arch/mips/ath79/Kconfig
Hunk #1 succeeded at 143 with fuzz 2 (offset 15 lines).
The next patch would create the file arch/mips/ath79/mach-lp-wr934x.c,
which already exists! Applying it anyway.
patching file arch/mips/ath79/mach-lp-wr934x.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/ath79/mach-lp-wr934x.c
patching file arch/mips/ath79/machtypes.h
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- rejects in file arch/mips/ath79/machtypes.h
patching file arch/mips/ath79/Makefile
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- rejects in file arch/mips/ath79/Makefile
Patch platform/740-MIPS-ath79-lp-wr934x-fixes.patch~ does not apply (enforce with -f)
Why my patch was rejected ?-- "rejects in file arch/mips/ath79/mach-lp-wr934x.c"