aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMarileneGarcia <[email protected]>2024-07-05 08:48:40 +0100
committerGreg Kroah-Hartman <[email protected]>2024-07-05 09:55:04 +0200
commit5fecb932607d83d37a703c731268e9d9051457f5 (patch)
tree3e7acee80ac0e04ab2d99c432b6dd6173e64f98a /lib/test_fortify/write_overflow-strncpy-src.c
parente499d4b7d8c08784e4e49d9e32ebade2cf4596dc (diff)
nvmem: meson-efuse: Replacing the use of of_node_put to __free
Use __free for device_node values, and thus drop calls to of_node_put. The goal is to reduce memory management issues by using this scope-based of_node_put() cleanup to simplify function exit handling. When using __free a resource is allocated within a block, it is automatically freed at the end of the block. Suggested-by: Julia Lawall <[email protected]> Signed-off-by: MarileneGarcia <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions