Skip to content
Commit b2c52b8c authored by Markus Elfring's avatar Markus Elfring Committed by Juergen Gross
Browse files

xen/privcmd: Use memdup_array_user() in alloc_ioreq()



* The function “memdup_array_user” was added with the
  commit 313ebe47 ("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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/41e333f7-1f3a-41b6-a121-a3c0ae54e36f@web.de


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 3693bb44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment