|
@@ -558,7 +558,7 @@ static int __init twofish_init(void)
|
|
{
|
|
{
|
|
const char *feature_name;
|
|
const char *feature_name;
|
|
|
|
|
|
- if (!cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM, NULL)) {
|
|
|
|
|
|
+ if (!cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM, &feature_name)) {
|
|
pr_info("CPU feature '%s' is not supported.\n", feature_name);
|
|
pr_info("CPU feature '%s' is not supported.\n", feature_name);
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|