From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756726AbbIXHZ3 (ORCPT ); Thu, 24 Sep 2015 03:25:29 -0400 Received: from terminus.zytor.com ([198.137.202.10]:49791 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753212AbbIXHZ0 (ORCPT ); Thu, 24 Sep 2015 03:25:26 -0400 Date: Thu, 24 Sep 2015 00:24:38 -0700 From: tip-bot for Borislav Petkov Message-ID: Cc: mingo@kernel.org, bp@suse.de, torvalds@linux-foundation.org, peterz@infradead.org, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, dave.hansen@linux.intel.com Reply-To: tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, dave.hansen@linux.intel.com, mingo@kernel.org, bp@suse.de, torvalds@linux-foundation.org, peterz@infradead.org In-Reply-To: <20150923104901.GA3538@pd.tnic> References: <20150923104901.GA3538@pd.tnic> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/fpu] x86/fpu: Fixup uninitialized feature_name warning Git-Commit-ID: 158ecc39185b885420e5136b803b29be2bbec7fb X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 158ecc39185b885420e5136b803b29be2bbec7fb Gitweb: http://git.kernel.org/tip/158ecc39185b885420e5136b803b29be2bbec7fb Author: Borislav Petkov AuthorDate: Wed, 23 Sep 2015 12:49:01 +0200 Committer: Ingo Molnar CommitDate: Thu, 24 Sep 2015 09:21:20 +0200 x86/fpu: Fixup uninitialized feature_name warning Hand in &feature_name to cpu_has_xfeatures() as it is supposed to. Fixes an uninitialized warning. Signed-off-by: Borislav Petkov Cc: Dave Hansen Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: brgerst@gmail.com Cc: dvlasenk@redhat.com Cc: fenghua.yu@intel.com Cc: luto@amacapital.net Cc: tim.c.chen@linux.intel.com Fixes: d91cab78133d ("x86/fpu: Rename XSAVE macros") Link: http://lkml.kernel.org/r/20150923104901.GA3538@pd.tnic Signed-off-by: Ingo Molnar --- arch/x86/crypto/twofish_avx_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/crypto/twofish_avx_glue.c b/arch/x86/crypto/twofish_avx_glue.c index 6f3738c..b7a3904 100644 --- 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; }