diff options
| author | Xu Yilun <[email protected]> | 2020-02-25 06:07:18 +0000 |
|---|---|---|
| committer | Moritz Fischer <[email protected]> | 2020-03-31 03:45:30 +0000 |
| commit | 3c2760b78f90db874401d97e3c17829e2e36f400 (patch) | |
| tree | 5ca821fd80a12a65de7b1b829d9f53749b8ed198 /Documentation/filesystems | |
| parent | fpga: zynq: Remove clk_get error message for probe defer (diff) | |
| download | kernel-3c2760b78f90db874401d97e3c17829e2e36f400.tar.gz kernel-3c2760b78f90db874401d97e3c17829e2e36f400.zip | |
fpga: dfl: pci: fix return value of cci_pci_sriov_configure
pci_driver.sriov_configure should return negative value on error and
number of enabled VFs on success. But now the driver returns 0 on
success. The sriov configure still works but will cause a warning
message:
XX VFs requested; only 0 enabled
This patch changes the return value accordingly.
Cc: [email protected]
Signed-off-by: Xu Yilun <[email protected]>
Signed-off-by: Wu Hao <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions
