summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio.h
diff options
context:
space:
mode:
authorLongfang Liu <liulongfang@huawei.com>2024-11-12 08:33:20 +0100
committerAlex Williamson <alex.williamson@redhat.com>2024-11-12 22:23:10 +0100
commit19629206894f1265d9148be475d8665c58596ab3 (patch)
tree9dd3b186571d8c7512c5837ca725264c54a4a95b /drivers/vfio/vfio.h
parenthisi_acc_vfio_pci: extract public functions for container_of (diff)
downloadlinux-19629206894f1265d9148be475d8665c58596ab3.tar.xz
linux-19629206894f1265d9148be475d8665c58596ab3.zip
hisi_acc_vfio_pci: create subfunction for data reading
This patch generates the code for the operation of reading data from the device into a sub-function. Then, it can be called during the device status data saving phase of the live migration process and the device status data reading function in debugfs. Thereby reducing the redundant code of the driver. Signed-off-by: Longfang Liu <liulongfang@huawei.com> Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Link: https://lore.kernel.org/r/20241112073322.54550-3-liulongfang@huawei.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/vfio.h')
0 files changed, 0 insertions, 0 deletions