git: 4fc60fa9294f - main - opencrypto: Make cryptosoft attach silently
Mark Johnston
markj at FreeBSD.org
Fri Mar 5 18:15:15 UTC 2021
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=4fc60fa9294f82c7f4e1a0e71f9a17794124217f
commit 4fc60fa9294f82c7f4e1a0e71f9a17794124217f
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-03-05 18:11:25 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-03-05 18:11:25 +0000
opencrypto: Make cryptosoft attach silently
cryptosoft is always present and doesn't print any useful information
when it attaches.
Reviewed by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29098
---
sys/opencrypto/cryptosoft.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c
index 947f27a388d1..a09f085a1eef 100644
--- a/sys/opencrypto/cryptosoft.c
+++ b/sys/opencrypto/cryptosoft.c
@@ -1658,6 +1658,7 @@ static int
swcr_probe(device_t dev)
{
device_set_desc(dev, "software crypto");
+ device_quiet(dev);
return (BUS_PROBE_NOWILDCARD);
}
More information about the dev-commits-src-all
mailing list