aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 08:47:26 -0600
committerRafael J. Wysocki <[email protected]>2023-03-30 19:26:44 +0200
commit86df7d19083c66fb1e2e1b3800f29586429a4d92 (patch)
tree64f52b56259e35e98a2eb9d2e6f7adc7db23b8a3 /lib/test_fortify/write_overflow-strncpy-src.c
parentd9dc06009b35dd2942561bf5c939a1c91bb5d9e4 (diff)
thermal: Use of_property_present() for testing DT property presence
It is preferred to use typed property access functions (i.e. of_property_read_<type> functions) rather than low-level of_get_property/of_find_property functions for reading properties. As part of this, convert of_get_property/of_find_property calls to the recently added of_property_present() helper when we just want to test for presence of a property and nothing more. Signed-off-by: Rob Herring <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions