diff options
| author | 2025-09-05 13:02:23 +0200 | |
|---|---|---|
| committer | 2025-09-09 15:03:13 +0200 | |
| commit | 5450abb0dea4f9fb432dea2ca92ea7a9bd25650b (patch) | |
| tree | 746b60fda6ef04ea41d25588d7b55f6b2d1fe44b /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | s390/debug: Replace kmalloc() + copy_from_user() with memdup_user_nul() (diff) | |
| download | wireguard-linux-5450abb0dea4f9fb432dea2ca92ea7a9bd25650b.tar.xz wireguard-linux-5450abb0dea4f9fb432dea2ca92ea7a9bd25650b.zip | |
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/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
