vfio: simplify kmalloc+copy_from_user to memdup_user
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 7 Dec 2012 20:43:49 +0000 (13:43 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 7 Dec 2012 20:43:49 +0000 (13:43 -0700)
commit3a1f7041ddd59ec3aceb042892f811cc76e05288
tree6e5e3548698eb68a5fdd15864e0190c1dedac164
parent1afa471706963643ceeda7cbbe9c605a1e883d53
vfio: simplify kmalloc+copy_from_user to memdup_user

Generated by: coccinelle/api/memdup_user.cocci

Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c
This page took 0.026328 seconds and 5 git commands to generate.