git: 79422a716d7c - main - ixl: Fix a mechanical mess-up in DrvAPI conversion
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Dec 2022 20:38:40 UTC
The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=79422a716d7cc7857e8b94ccea98ff68b38f6324 commit 79422a716d7cc7857e8b94ccea98ff68b38f6324 Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2022-12-21 19:22:23 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2022-12-21 20:36:59 +0000 ixl: Fix a mechanical mess-up in DrvAPI conversion ixl_iw.c is not compiled by default, and I missed this in code inspection. Reported by: erj@ Sponsored by: Juniper Networks, Inc. --- sys/dev/ixl/ixl_iw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixl/ixl_iw.c b/sys/dev/ixl/ixl_iw.c index d4129808cc28..0b84ab3bddec 100644 --- a/sys/dev/ixl/ixl_iw.c +++ b/sys/dev/ixl/ixl_iw.c @@ -165,7 +165,7 @@ ixl_iw_pf_init(struct ixl_pf *pf) pf_info->dev = pf->dev; pf_info->pci_mem = pf->pci_mem; pf_info->pf_id = pf->hw.pf_id; - pf_info->mtu = pf->vsi.if_getmtu(ifp); + pf_info->mtu = if_getmtu(pf->vsi.ifp); pf_info->iw_msix.count = IXL_IW_VEC_COUNT(pf); pf_info->iw_msix.base = IXL_IW_VEC_BASE(pf);