diff options
| author | Fiona Klute <[email protected]> | 2025-02-12 12:39:01 +0100 |
|---|---|---|
| committer | Peter Robinson <[email protected]> | 2025-03-13 11:06:16 +0000 |
| commit | fc7a3110184a3ca4c227675b20d3a4887210e36c (patch) | |
| tree | e0f4ac6de30a012dbd007f54afbdd1467c784715 /scripts/checkpatch.pl | |
| parent | 2d75c46be99c15fa186436c149b87ee97e0b8f44 (diff) | |
Raspberry Pi: Keep warnings from firmware in DT, if any
The /chosen/user-warnings property is created by the RPi firmware if
there are warnings to report, keep it to make debugging easier.
For example, if the firmware config.txt contains
"dtoverlay=error-example" and that example references an undefined
symbol "&nosuchdev" the warning can be read after boot:
$ cat /proc/device-tree/chosen/user-warnings
dterror: can't find symbol 'nosuchdev'
Failed to resolve overlay 'error-example'
Signed-off-by: Fiona Klute <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Signed-off-by: Peter Robinson <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
