aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorLongfang Liu <[email protected]>2024-11-12 15:33:20 +0800
committerAlex Williamson <[email protected]>2024-11-12 14:23:10 -0700
commit19629206894f1265d9148be475d8665c58596ab3 (patch)
tree9dd3b186571d8c7512c5837ca725264c54a4a95b /drivers/fpga/fpga-mgr.c
parentece8a2c77b881a379d24fee4656195d809161867 (diff)
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 <[email protected]> Reviewed-by: Shameer Kolothum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions