diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 01:47:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 01:47:47 +0100 |
commit | e0ca3826b147a7ada526856af25a87c8ffad489f (patch) | |
tree | 73757e7ac21c00f3ef19ba29d03bd213ea12873a /samples | |
parent | Merge tag 'iommu-v4.15-rc1' of git://github.com/awilliam/linux-vfio (diff) | |
parent | Merge branches 'vfio/fixes' and 'vfio/platform' into vfio-next-20171113.0 (diff) | |
download | linux-e0ca3826b147a7ada526856af25a87c8ffad489f.tar.xz linux-e0ca3826b147a7ada526856af25a87c8ffad489f.zip |
Merge tag 'vfio-v4.15-rc1' of git://github.com/awilliam/linux-vfio
Pull VFIO updates from Alex Williamson:
- Virtualize PCI MPS and MRRS registers
- Avoid soft lockups on SPAPR when clearing TCE
- Broadcom FlexRM platform device support
- Samples driver cleanup & type1 integer overflow fix
* tag 'vfio-v4.15-rc1' of git://github.com/awilliam/linux-vfio:
vfio: platform: reset: Add Broadcom FlexRM reset module
vfio/type1: silence integer overflow warning
vfio-mdev/samples: make mdev_fops const and static
vfio/spapr: Add cond_resched() for huge updates
vfio/pci: Virtualize Maximum Read Request Size
vfio/pci: Virtualize Maximum Payload Size
Diffstat (limited to 'samples')
-rw-r--r-- | samples/vfio-mdev/mtty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c index ca495686b9c3..09f255bdf3ac 100644 --- a/samples/vfio-mdev/mtty.c +++ b/samples/vfio-mdev/mtty.c @@ -1413,7 +1413,7 @@ struct attribute_group *mdev_type_groups[] = { NULL, }; -struct mdev_parent_ops mdev_fops = { +static const struct mdev_parent_ops mdev_fops = { .owner = THIS_MODULE, .dev_attr_groups = mtty_dev_groups, .mdev_attr_groups = mdev_dev_groups, |