summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJori Koolstra <jkoolstra@xs4all.nl>2026-03-06 22:06:28 +0300
committerAlex Williamson <alex@shazbot.org>2026-03-16 22:38:50 +0300
commit5efa9a54c6a5f22080f33012c41a94112e955b53 (patch)
tree2a3b5ffaebf0ee2f80cb6b0842beb3dc8c257536 /include/uapi/linux
parentf183963891b4b0126f19aa0993ed931f3f3f9520 (diff)
downloadlinux-5efa9a54c6a5f22080f33012c41a94112e955b53.tar.xz
vfio: replace vfio->class with a const struct class
The class_create() call has been deprecated in favor of class_register() as the driver core now allows for a struct class to be in read-only memory. Replace vfio->class with a const struct class and drop the class_create() call. Compile tested and found no errors/warns in dmesg after enabling VFIO_GROUP. Link: https://lore.kernel.org/all/2023040244-duffel-pushpin-f738@gregkh/ Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl> Link: https://lore.kernel.org/r/20260306190628.259203-1-jkoolstra@xs4all.nl Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions