Repository navigation
Conversation
|
Even allowing for the checkpatch warnings (*), this is not going to work. The problem is the merge order of the fragments. Fragments are merged in two linear passes:
This scheme is more forgiving than the obvious one-pass, top-to-bottom scheme, but perhaps it lulls people into a false sense of security. What it lacks is a pass 0 that applies fragments that target intra fragments (intra-intra?), and a pass -1 that applies fragments that target intra fragments that target intra fragments (intra-intra-intra). As a result, all intra fragments (or at least intra fragments with dependency relationships) have to be written in the order in which they are applied. Your modifications have fallen foul of this restriction by introducing an extra level to the hierarchy, and for no good reason. You could just as easily have put the frag100 label (ideally with a different name) on fragment 0 and deleted fragment 100 itself. (*) I'm annoyed because I thought I had added enough infrastructure to the automated build checks to spot this kind of problem, but it clearly doesn't work. You can prove the problem exists yourself like this: ( |
|
How is this any different from https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/mcp23017-overlay.dts and https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts? Don't those also suffer from the same flaw? |
|
In your overlay, fragment 0 will be added to fragment 100 before e.g. fragment 1 is added to fragment 0. Show me a problematic fragment in either of those overlays - I can't see one which doesn't obey the rules. |
|
I've fixed the problem with the overlay checker, which now correctly reports: Note that this is after checking all of the overlays, not just |
|
I think I understand, but I'm not able to get |
|
Are you happy for me to fix this version of the overlay and add it for you? |
|
See: #5762 |
Analogous to #5650