aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2025-01-09 13:42:06 -0600
committerRob Herring (Arm) <robh@kernel.org>2025-01-13 17:47:29 -0600
commitc141ecc3cecd764799e17c8251026336cab86800 (patch)
treeaf4f88f030989705b8911d543312a3baee606f09 /scripts/gdb/linux/utils.py
parentdevice property: Split property reading bool and presence test ops (diff)
downloadwireguard-linux-c141ecc3cecd764799e17c8251026336cab86800.tar.xz
wireguard-linux-c141ecc3cecd764799e17c8251026336cab86800.zip
of: Warn when of_property_read_bool() is used on non-boolean properties
The use of of_property_read_bool() for non-boolean properties is deprecated. The primary use of it was to test property presence, but that has been replaced in favor of of_property_present(). With those uses now fixed, add a warning to discourage new ones. Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20250109-dt-type-warnings-v1-2-0150e32e716c@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions