Commit 583964b
committed
k3-beagle: fix malformed csi0-imx219 overlay patch (bad hunk count)
The BeagleY-AI CSI0 IMX219 overlay patch failed to apply on edge/6.18
kernel builds:
patch: **** malformed patch at line 152: --
Failed to parse unidiff ... 'Hunk is longer than expected'
The new-file hunk header declared "@@ -0,0 +1,130 @@" but the body
contains only 128 added lines, so patch(1) ran past the hunk and
consumed the "--"/"2.43.0" git signature footer. The footer's trailing
space had also been stripped ("--" instead of "-- ").
Correct the hunk count to 128, align the diffstat (128/129 insertions),
and restore the "-- " signature separator. The overlay content is
unchanged and complete (brace/bracket balanced). Verified with both
`git apply --check` and `patch -p1 --dry-run` (exit 0).
Signed-off-by: Igor Pecovnik <igor@armbian.com>1 parent 37032d1 commit 583964b
1 file changed
Lines changed: 4 additions & 4 deletions
File tree
- patch/kernel/archive/k3-beagle-6.18
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
0 commit comments