On 8/11/26 10:46 AM, [email protected] wrote:
From: Jared Rossi <[email protected]> Enabling a PCI function that is already configured will result in an error. Simply check if the device has already been enabled, and if so, return without doing anything further; otherwise, enable it as usual. Also, because enable_pci_function() prints its own message, let's remove the duplicate message emitted during the virtio PCI setup steps. Signed-off-by: Jared Rossi <[email protected]> --- pc-bios/s390-ccw/clp.c | 4 ++++ pc-bios/s390-ccw/virtio-pci.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Eric Farman <[email protected]>
