diff options
author | Ruan Jinjie <[email protected]> | 2023-08-10 20:16:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-11 21:38:49 +0200 |
commit | 183238ffb8863e3d5efea6c59ef68428125ea30d (patch) | |
tree | d85f60f2d40e4ca8581e45e20f4dee84b2f8cae0 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 25a7de32c89d63d11257a67ff42f24630f8eabf1 (diff) |
misc: eeprom/idt_89hpesx: Switch to memdup_user_nul() helper
Use memdup_user_nul() helper instead of open-coding to simplify the code.
Signed-off-by: Ruan Jinjie <[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