On 2025-10-17 17:07:05, Vipin Sharma wrote:
--- a/drivers/vfio/pci/vfio_pci_priv.h +++ b/drivers/vfio/pci/vfio_pci_priv.h @@ -109,8 +109,13 @@ static inline bool vfio_pci_is_vga(struct pci_dev *pdev) #ifdef CONFIG_LIVEUPDATE void vfio_pci_liveupdate_init(void); +int vfio_pci_liveupdate_restore_config(struct vfio_pci_core_device *vdev); #else static inline void vfio_pci_liveupdate_init(void) { } +int vfio_pci_liveupdate_restore_config(struct vfio_pci_core_device *vdev)
This should be static inline
+{
- return -EINVAL;
+} #endif /* CONFIG_LIVEUPDATE */
#endif
2.51.0.858.gf9c4a03a3a-goog