diff options
author | Ruan Jinjie <[email protected]> | 2023-08-15 19:48:14 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-15 10:06:54 -0600 |
commit | 66a6a5d0ec852eaced589da066376e69397cd71e (patch) | |
tree | 250e4720df61365612d4364e99962238864e9b92 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c7b4b23b36edf32239e7fc3b922797ff1d32b072 (diff) |
ublk: 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: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions