projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4877d6
)
x86/fpu: Fixup uninitialized feature_name warning
author
Borislav Petkov
<
[email protected]
>
Wed, 23 Sep 2015 10:49:01 +0000
(12:49 +0200)
committer
Ingo Molnar
<
[email protected]
>
Thu, 24 Sep 2015 07:21:20 +0000
(09:21 +0200)
Hand in &feature_name to cpu_has_xfeatures() as it is supposed
to. Fixes an uninitialized warning.
Signed-off-by: Borislav Petkov <
[email protected]
>
Cc: Dave Hansen <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Fixes: d91cab78133d ("x86/fpu: Rename XSAVE macros")
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/crypto/twofish_avx_glue.c
patch
|
blob
|
history
diff --git
a/arch/x86/crypto/twofish_avx_glue.c
b/arch/x86/crypto/twofish_avx_glue.c
index 6f3738ced95e76b96f495b294f1a37cea952ed46..b7a3904b953c6146f543a164e6456c1893102a92 100644
(file)
--- a/
arch/x86/crypto/twofish_avx_glue.c
+++ b/
arch/x86/crypto/twofish_avx_glue.c
@@
-558,7
+558,7
@@
static int __init twofish_init(void)
{
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);
return -ENODEV;
}