summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAbdurrahman Hussain <abdurrahman@nexthop.ai>2026-08-31 18:29:25 -0700
committerRob Herring (Arm) <robh@kernel.org>2026-09-17 16:39:48 -0500
commit21c89ff1fc86ffa517f3a9ca1ba5c48e9e37c1ba (patch)
tree50698d535b4f8be3c1498c342c4bbe6747232baf /tools/lib/python/kdoc/python_version.py
parent1d62f0f2bc7edb12ed09f71203df0e47fa4efca4 (diff)
downloadlinux-next-21c89ff1fc86ffa517f3a9ca1ba5c48e9e37c1ba.tar.gz
linux-next-21c89ff1fc86ffa517f3a9ca1ba5c48e9e37c1ba.zip
of/overlay: don't create "//" paths for fragments targeting the root
dup_and_fixup_symbol_prop() rewrites a symbol value by replacing its "/fragment/__overlay__" prefix with the fragment's target path. When the fragment targets the root node the target path is "/" and the result starts with "//", which __of_find_node_by_full_path() cannot resolve: symbols pointing into such fragments silently stop resolving. Drop the target path when it is the root and the tail is non-empty. A value naming the fragment root itself (empty tail) keeps the "/". Fixes: d1651b03c2df ("of: overlay: add overlay symbols to live device tree") Assisted-by: Claude:claude-fable-5 [Claude Code] Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai> Link: https://patch.msgid.link/20260831-nh-of-alias-overlay-v7-7-02754604805a@nexthop.ai Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions