Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Improve a couple of comments
details: https://anonhg.NetBSD.org/src/rev/5773e5e98c31
branches: trunk
changeset: 368711:5773e5e98c31
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jul 29 15:30:42 2022 +0000
description:
Improve a couple of comments
diffstat:
sys/dev/pci/if_wm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a34c9e3b1719 -r 5773e5e98c31 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Fri Jul 29 15:29:07 2022 +0000
+++ b/sys/dev/pci/if_wm.c Fri Jul 29 15:30:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.748 2022/07/29 15:29:07 skrll Exp $ */
+/* $NetBSD: if_wm.c,v 1.749 2022/07/29 15:30:42 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.748 2022/07/29 15:29:07 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.749 2022/07/29 15:30:42 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -3510,7 +3510,7 @@
}
pci_intr_release(sc->sc_pc, sc->sc_intrs, sc->sc_nintrs);
- /* wm_stop() ensure workqueue is stopped. */
+ /* wm_stop() ensured that the workqueue is stopped. */
workqueue_destroy(sc->sc_queue_wq);
for (i = 0; i < sc->sc_nqueues; i++)
@@ -7072,7 +7072,7 @@
WM_CORE_UNLOCK(sc);
/*
- * After wm_set_stopping_flags(), it is guaranteed
+ * After wm_set_stopping_flags(), it is guaranteed that
* wm_handle_queue_work() does not call workqueue_enqueue().
* However, workqueue_wait() cannot call in wm_stop_locked()
* because it can sleep...
Home |
Main Index |
Thread Index |
Old Index