Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [hieuc@archlinux linux-4.19-rc4]$ patch -p1 < ../patch0.patch
- patching file drivers/pinctrl/intel/pinctrl-intel.c
- Reversed (or previously applied) patch detected! Assume -R? [n] n
- Apply anyway? [n] y
- Hunk #1 FAILED at 875.
- Hunk #2 FAILED at 1013.
- Hunk #3 succeeded at 1117 (offset -4 lines).
- 2 out of 3 hunks FAILED -- saving rejects to file drivers/pinctrl/intel/pinctrl-intel.c.rej
- patching file drivers/pinctrl/intel/pinctrl-cannonlake.c
- Reversed (or previously applied) patch detected! Assume -R? [n] n
- Apply anyway? [n] y
- Hunk #1 FAILED at 444.
- 1 out of 1 hunk FAILED -- saving rejects to file drivers/pinctrl/intel/pinctrl-cannonlake.c.rej
- [hieuc@archlinux linux-4.19-rc4]$ cat drivers/pinctrl/intel/pinctrl-cannonlake.c.rej | grep irqd
- [hieuc@archlinux linux-4.19-rc4]$ cat drivers/pinctrl/intel/pinctrl-cannonlake.c.rej | grep if 0
- grep: 0: No such file or directory
- [hieuc@archlinux linux-4.19-rc4]$ cat drivers/pinctrl/intel/pinctrl-cannonlake.c.rej | grep if
- [hieuc@archlinux linux-4.19-rc4]$ cat drivers/pinctrl/intel/pinctrl-cannonlake.c.rej | grep s
- --- drivers/pinctrl/intel/pinctrl-cannonlake.c
- +++ drivers/pinctrl/intel/pinctrl-cannonlake.c
- @@ -444,12 +444,8 @@ static const struct intel_function cnlh_functions[] = {
- static const struct intel_community cnlh_communities[] = {
- CNL_COMMUNITY(0, 0, 50, cnlh_community0_gpps),
- CNL_COMMUNITY(1, 51, 154, cnlh_community1_gpps),
- - * ACPI MMIO resources are returned in reverse order for
- - * communities 3 and 4.
- - CNL_COMMUNITY(3, 155, 248, cnlh_community3_gpps),
- - CNL_COMMUNITY(2, 249, 298, cnlh_community4_gpps),
- + CNL_COMMUNITY(2, 155, 248, cnlh_community3_gpps),
- + CNL_COMMUNITY(3, 249, 298, cnlh_community4_gpps),
- static const struct intel_pinctrl_soc_data cnlh_soc_data = {
- [hieuc@archlinux linux-4.19-rc4]$ cat drivers/pinctrl/intel/pinctrl-cannonlake.c.rej | grep if
- [hieuc@archlinux linux-4.19-rc4]$ cat drivers/pinctrl/intel/pinctrl-cannonlake.c.rej | grep irq
- [hieuc@archlinux linux-4.19-rc4]$ make clean
- [hieuc@archlinux linux-4.19-rc4]$ make mrproper
- [hieuc@archlinux linux-4.19-rc4]$ patch -p1 -i < ../patch0.patch
- patch: option requires an argument -- 'i'
- patch: Try 'patch --help' for more information.
- [hieuc@archlinux linux-4.19-rc4]$ patch -p1 < ../patch0.patch
- patching file drivers/pinctrl/intel/pinctrl-intel.c
- Reversed (or previously applied) patch detected! Assume -R? [n] n
- Apply anyway? [n] y
- Hunk #1 FAILED at 875.
- Hunk #2 FAILED at 1013.
- Hunk #3 FAILED at 1121.
- 3 out of 3 hunks FAILED -- saving rejects to file drivers/pinctrl/intel/pinctrl-intel.c.rej
- patching file drivers/pinctrl/intel/pinctrl-cannonlake.c
- Reversed (or previously applied) patch detected! Assume -R? [n] n
- Apply anyway? [n] y
- Hunk #1 FAILED at 444.
- 1 out of 1 hunk FAILED -- saving rejects to file drivers/pinctrl/intel/pinctrl-cannonlake.c.rej
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement