aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2024-07-31 13:12:40 -0600
committerViresh Kumar <[email protected]>2024-08-07 12:11:45 +0530
commit872cc94c7e3d874373f56b035f998631c6b26d22 (patch)
tree56cf435fe3b4fb308a27b92e7464a27f932a8a6c /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
cpufreq: Use of_property_present()
Use of_property_present() to test for property presence rather than of_(find|get)_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]> Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions