aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorJavier Carrasco <[email protected]>2024-08-08 17:12:37 +0200
committerSuzuki K Poulose <[email protected]>2024-08-19 15:31:37 +0100
commitdaca644d0c9e06752c80e10411d89e087fa9a24e (patch)
treeb507b19c062866cbc66a30bfab3339f0767d684b /lib/test_fortify/write_overflow-strncpy.c
parent47ac09b91befbb6a235ab620c32af719f8208399 (diff)
coresight: cti: use device_* to iterate over device child nodes
Drop the manual access to the fwnode of the device to iterate over its child nodes. `device_for_each_child_node` macro provides direct access to the child nodes, and given that they are only required within the loop, the scoped variant of the macro can be used. Use the `device_for_each_child_node_scoped` macro to iterate over the direct child nodes of the device. Signed-off-by: Javier Carrasco <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions