diff options
| author | Marco Chiappero <[email protected]> | 2021-08-12 21:21:11 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-08-21 15:44:54 +0800 |
| commit | 462584ca17b4ca85721475cf2744d3229d4006cd (patch) | |
| tree | 518c6a2ba3a6b54c6ce7b9d727e53435e2efe12a /scripts/gdb/linux/tasks.py | |
| parent | 462354d986b6a89c6449b85f17aaacf44e455216 (diff) | |
crypto: qat - remove empty sriov_configure()
Remove the empty implementation of sriov_configure() and set the
sriov_configure member of the pci_driver structure to NULL.
This way, if a user tries to enable VFs on a device, when kernel and
driver are built with CONFIG_PCI_IOV=n, the kernel reports an error
message saying that the driver does not support SRIOV configuration via
sysfs.
Signed-off-by: Marco Chiappero <[email protected]>
Co-developed-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Fiona Trahe <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions