aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/env.py
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2024-07-31 19:16:00 +0000
committerJakub Kicinski <[email protected]>2024-08-02 01:15:18 +0000
commit5fe164fb0e6e31dbcbb4b706fd76bc578e5af4c6 (patch)
tree31c20f6f8bd507c1c01532c4f090f48050330062 /tools/testing/selftests/drivers/net/lib/py/env.py
parentnet: mdio: Use of_property_count_u32_elems() to get property length (diff)
downloadkernel-5fe164fb0e6e31dbcbb4b706fd76bc578e5af4c6.tar.gz
kernel-5fe164fb0e6e31dbcbb4b706fd76bc578e5af4c6.zip
net: Use of_property_read_bool()
Use of_property_read_bool() to read boolean properties rather than of_find_property(). This is part of a larger effort to remove callers of of_find_property() and similar functions. of_find_property() leaks the DT struct property and data pointers which is a problem for dynamically allocated nodes which may be freed. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: MD Danish Anwar <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions