aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorXu Yilun <yilun.xu@intel.com>2020-02-25 14:07:18 +0800
committerMoritz Fischer <mdf@kernel.org>2020-03-30 20:45:30 -0700
commit3c2760b78f90db874401d97e3c17829e2e36f400 (patch)
tree5ca821fd80a12a65de7b1b829d9f53749b8ed198 /scripts/gdb/linux
parentdaec0f4a594d489f4fd21a1c02fc7e77db200835 (diff)
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: stable@vger.kernel.org Signed-off-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Wu Hao <hao.wu@intel.com> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions