Date: Fri, 12 Mar 2021 17:30:59 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2b0aa5833c26 - stable/13 - netmap: Stop printing a line to the dmesg in netmap_init() Message-ID: <202103121730.12CHUxDk051575@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2b0aa5833c26b8a97f020ac39451de247ac6b4e9 commit 2b0aa5833c26b8a97f020ac39451de247ac6b4e9 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-03-05 23:07:47 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-03-12 17:20:59 +0000 netmap: Stop printing a line to the dmesg in netmap_init() netmap is compiled into the kernel by default so initialization was always reported, and netmap uses a formatting convention not used in the rest of the kernel. Reviewed by: vmaffione Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29099 (cherry picked from commit fef845097190f0ecb783d6c75a9398c4e4a4c0e1) --- sys/dev/netmap/netmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c index b711e0d2497e..f37900712046 100644 --- a/sys/dev/netmap/netmap.c +++ b/sys/dev/netmap/netmap.c @@ -4347,7 +4347,9 @@ netmap_init(void) if (error) goto fail; +#if !defined(__FreeBSD__) || defined(KLD_MODULE) nm_prinf("netmap: loaded module"); +#endif return (0); fail: netmap_fini();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103121730.12CHUxDk051575>