diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-05 13:02:23 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-09-09 15:03:13 +0200 |
commit | 5450abb0dea4f9fb432dea2ca92ea7a9bd25650b (patch) | |
tree | 746b60fda6ef04ea41d25588d7b55f6b2d1fe44b /scripts/extract-fwblobs | |
parent | f5507aefc9114ced49d1ee527f63ea12ff5d7751 (diff) |
s390/hmcdrv: Replace kmalloc() + copy_from_user() with memdup_user_nul()
Replace kmalloc() followed by copy_from_user() with memdup_user_nul() to
improve and simplify hmcdrv_dev_write(). Remove the manual
NUL-termination.
No functional changes intended.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions