aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2022-02-24 16:20:17 +0200
committerLeon Romanovsky <[email protected]>2022-03-03 12:54:43 +0200
commit445ad495f0ff71553693e6a2a9d7a3bc6917ca36 (patch)
treeb6151cc06f329ac74348e2b11d78fa00d7da5248 /net/lapb/lapb_timer.c
parent40f958ea5700f479f06ec5b0a549b2442d8a7d53 (diff)
vfio: Have the core code decode the VFIO_DEVICE_FEATURE ioctl
Invoke a new device op 'device_feature' to handle just the data array portion of the command. This lifts the ioctl validation to the core code and makes it simpler for either the core code, or layered drivers, to implement their own feature values. Provide vfio_check_feature() to consolidate checking the flags/etc against what the driver supports. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Jason Gunthorpe <[email protected]> Tested-by: Shameer Kolothum <[email protected]> Reviewed-by: Alex Williamson <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Yishai Hadas <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions