diff options
author | Alex Dupre <ale@FreeBSD.org> | 2022-04-26 15:40:02 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2022-04-26 15:40:47 +0000 |
commit | e9ef42c97b4d62d2b8382e75894f02faae83cdc0 (patch) | |
tree | e23f8798421e62ebb12211068f64873360fbedc0 | |
parent | 8db20db47d6738c17e9fe7117de5cc54322144eb (diff) | |
download | ports-e9ef42c97b4d62d2b8382e75894f02faae83cdc0.tar.gz ports-e9ef42c97b4d62d2b8382e75894f02faae83cdc0.zip |
security/quantis-kmod: fix build on -CURRENT
-rw-r--r-- | security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c b/security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c new file mode 100644 index 000000000000..1027ef172ab1 --- /dev/null +++ b/security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c @@ -0,0 +1,18 @@ +--- freebsd/quantis_pci_freebsd.c.orig 2022-04-26 15:35:51 UTC ++++ freebsd/quantis_pci_freebsd.c +@@ -287,7 +287,6 @@ static int quantis_detach(device_t device, struct quan + **/ + static int quantis_allocate_resources(device_t device) + { +- int error; + struct quantis_pci_device *scp = DEVICE2SOFTC(device); + + mtx_init(&scp->mutex, "Quantis Device Mutex", NULL, MTX_DEF); +@@ -301,7 +300,6 @@ static int quantis_allocate_resources(device_t device) + return (0); + + errexit: +- error = ENXIO; + quantis_deallocate_resources(device); + return (ENXIO); + } |