git: 9788aa5e6bdb - stable/13 - opencrypto: Make cryptosoft attach silently
Mark Johnston
markj at FreeBSD.org
Fri Mar 12 17:31:00 UTC 2021
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=9788aa5e6bdbe15dce27c647aa3a89de4a7031c0
commit 9788aa5e6bdbe15dce27c647aa3a89de4a7031c0
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-12 17:21:09 +0000
opencrypto: Make cryptosoft attach silently
cryptosoft is always present and doesn't print any useful information
when it attaches.
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29098
(cherry picked from commit 4fc60fa9294f82c7f4e1a0e71f9a17794124217f)
---
sys/opencrypto/cryptosoft.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c
index e5a1139039d0..60d1f60d6cc1 100644
--- a/sys/opencrypto/cryptosoft.c
+++ b/sys/opencrypto/cryptosoft.c
@@ -1453,6 +1453,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-branches
mailing list