aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorLiam R. Howlett <[email protected]>2023-08-18 20:43:56 -0400
committerAndrew Morton <[email protected]>2023-08-24 16:20:32 -0700
commit432af5c966667f12c7af38fb3b2cd52eef0c47b4 (patch)
tree2cc0048a65c224f1cb37ccc58a66033d9bd06b34 /lib/test_fortify/write_overflow-strncpy-src.c
parent8f9ff2deb8b91ad1cba666c7adbe4ca79e2d3225 (diff)
maple_tree: clean up mas_wr_append()
Avoid setting the variables until necessary, and actually use the variables where applicable. Introducing a variable for the slots array avoids spanning multiple lines. Add the missing argument to the documentation. Use the node type when setting the metadata instead of blindly assuming the type. Finally, add a trace point to the function for successful store. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions