diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-01-28 19:50:43 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2024-02-13 10:58:21 +0300 |
commit | b2c52b8c128ea07f1632c516cec0d72cb63b5599 (patch) | |
tree | 7fc648a04da656f441be6e10f104881a80b05982 /net/switchdev/switchdev.c | |
parent | 3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2 (diff) | |
download | linux-b2c52b8c128ea07f1632c516cec0d72cb63b5599.tar.xz |
xen/privcmd: Use memdup_array_user() in alloc_ioreq()
* The function “memdup_array_user” was added with the
commit 313ebe47d75558511aa1237b6e35c663b5c0ec6f ("string.h: add
array-wrappers for (v)memdup_user()").
Thus use it accordingly.
This issue was detected by using the Coccinelle software.
* Delete a label which became unnecessary with this refactoring.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/41e333f7-1f3a-41b6-a121-a3c0ae54e36f@web.de
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions