[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.
This commit is contained in:
Oleksandr Tymoshenko 2020-10-22 04:49:14 +00:00
parent 4138a74460
commit d2112ab098
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366923

View File

@ -207,6 +207,7 @@ armv8_crypto_probesession(device_t dev,
default:
return (EINVAL);
}
break;
default:
return (EINVAL);
}