sysfs tools: indentation + text-width fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-10-18 10:08:42 +02:00
parent 85237c0b68
commit 57426c93c9

View File

@ -310,8 +310,7 @@ sub pci_dev_group_bind_to_vfio {
foreach my $pciid (@devs) { foreach my $pciid (@devs) {
$pciid =~ m/^([:\.0-9a-f]+)$/ or die "PCI ID $pciid not valid!\n"; $pciid =~ m/^([:\.0-9a-f]+)$/ or die "PCI ID $pciid not valid!\n";
# pci bridges, switches or root ports are not supported # PCI bridges, switches or root-ports aren't supported and all have a pci_bus dir we can test
# they have a pci_bus subdirectory so skip them
next if (-e "$pcisysfs/devices/$pciid/pci_bus"); next if (-e "$pcisysfs/devices/$pciid/pci_bus");
my $info = pci_device_info($1); my $info = pci_device_info($1);