Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2021 14:39:35 GMT
From:      Rajesh Kumar M A <rajeshasp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0fd05b0173e2 - main - Fix to call callout_init with correct inputs from axp driver
Message-ID:  <202107131439.16DEdZeZ043922@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rajeshasp:

URL: https://cgit.FreeBSD.org/src/commit/?id=0fd05b0173e2e9f20bec338474e3a3d15ff01993

commit 0fd05b0173e2e9f20bec338474e3a3d15ff01993
Author:     Rajesh Kumar M A <rajeshasp@FreeBSD.org>
AuthorDate: 2021-07-13 14:36:01 +0000
Commit:     Rajesh Kumar M A <rajeshasp@FreeBSD.org>
CommitDate: 2021-07-13 14:38:31 +0000

    Fix to call callout_init with correct inputs from axp driver
    
    Approved by: vmaffione, gallatin
    
    Reviewed by: hselasky, vmaffione, gallatin
    
    Differential Revision: https://reviews.freebsd.org/D31104
    
    MFC after: 1 week
---
 sys/dev/axgbe/if_axgbe_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/axgbe/if_axgbe_pci.c b/sys/dev/axgbe/if_axgbe_pci.c
index fe42aaac6568..c7830de4c859 100644
--- a/sys/dev/axgbe/if_axgbe_pci.c
+++ b/sys/dev/axgbe/if_axgbe_pci.c
@@ -770,7 +770,7 @@ xgbe_service_timer(void *data)
 static void
 xgbe_init_timers(struct xgbe_prv_data *pdata)
 {
-        callout_init(&pdata->service_timer, 1*hz);
+        callout_init(&pdata->service_timer, 1);
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107131439.16DEdZeZ043922>