aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorYi Liu <[email protected]>2023-07-18 06:55:46 -0700
committerAlex Williamson <[email protected]>2023-07-25 10:20:15 -0600
commitca9e45b414709b9a7279d396ec3d338b057349a8 (patch)
treee20647f824e200d23d2e7ceae9605089eee3cc9b /tools/testing/selftests/bpf/progs/test_autoload.c
parent1c9dc07487cb0f246075b2d3b305bba91156d376 (diff)
vfio: Avoid repeated user pointer cast in vfio_device_fops_unl_ioctl()
This adds a local variable to store the user pointer cast result from arg. It avoids the repeated casts in the code when more ioctls are added. Reviewed-by: Jason Gunthorpe <[email protected]> Tested-by: Yanting Jiang <[email protected]> Signed-off-by: Yi Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions