svn commit: r366923 - head/sys/crypto/armv8
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Oct 22 04:49:15 UTC 2020
Author: gonzo
Date: Thu Oct 22 04:49:14 2020
New Revision: 366923
URL: https://svnweb.freebsd.org/changeset/base/366923
Log:
[armv8crypto] Fix cryptodev probe logic in armv8crypto
Add missing break to prevent falling through to the default case statement
and returning EINVAL for all session configs.
Sponsored by: Ampere Computing
Submitted by: Klara, Inc.
Modified:
head/sys/crypto/armv8/armv8_crypto.c
Modified: head/sys/crypto/armv8/armv8_crypto.c
==============================================================================
--- head/sys/crypto/armv8/armv8_crypto.c Thu Oct 22 03:30:39 2020 (r366922)
+++ head/sys/crypto/armv8/armv8_crypto.c Thu Oct 22 04:49:14 2020 (r366923)
@@ -207,6 +207,7 @@ armv8_crypto_probesession(device_t dev,
default:
return (EINVAL);
}
+ break;
default:
return (EINVAL);
}
More information about the svn-src-all
mailing list