git: 0fd05b0173e2 - main - Fix to call callout_init with correct inputs from axp driver

Rajesh Kumar M A rajeshasp at FreeBSD.org
Tue Jul 13 14:39:35 UTC 2021


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 at FreeBSD.org>
AuthorDate: 2021-07-13 14:36:01 +0000
Commit:     Rajesh Kumar M A <rajeshasp at 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


More information about the dev-commits-src-main mailing list