aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorLi Zetao <[email protected]>2023-08-10 19:50:49 +0800
committerGreg Kroah-Hartman <[email protected]>2023-08-11 21:38:52 +0200
commit60df28ac09d666f0b0e96fedf556d878715fa86f (patch)
tree093c414fa035a5ddaca6e3a3aeb3ef33f769e2d7 /lib/test_fortify/write_overflow-strncpy.c
parent183238ffb8863e3d5efea6c59ef68428125ea30d (diff)
misc: eeprom/idt_89hpesx: Use devm_kmemdup to replace devm_kmalloc + memcpy
Use the helper function devm_kmemdup() rather than duplicating its implementation, which helps to enhance code readability. Signed-off-by: Li Zetao <[email protected]> Reviewed-by: Luca Ceresoli <[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.c')
0 files changed, 0 insertions, 0 deletions