From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 10 Oct 2019 06:51:01 -0000 Received: from mail.kernel.org ([198.145.29.99]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iISHr-0000rK-MK for speck@linutronix.de; Thu, 10 Oct 2019 08:51:00 +0200 Date: Thu, 10 Oct 2019 08:50:50 +0200 From: Greg KH Subject: [MODERATED] Re: [PATCH v6 5/9] TAAv6 5 Message-ID: <20191010065050.GC256999@kroah.com> References: <5d9e6e22.1c69fb81.6df19.ff55SMTPIN_ADDED_BROKEN@mx.google.com> MIME-Version: 1.0 In-Reply-To: <5d9e6e22.1c69fb81.6df19.ff55SMTPIN_ADDED_BROKEN@mx.google.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Wed, Oct 09, 2019 at 04:26:56PM -0700, speck for Pawan Gupta wrote: > +static ssize_t tsx_async_abort_show_state(char *buf) > +{ > + if ((taa_mitigation == TAA_MITIGATION_TSX_DISABLE) || > + (taa_mitigation == TAA_MITIGATION_OFF)) > + return sprintf(buf, "%s\n", taa_strings[taa_mitigation]); > + > + if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) { > + return sprintf(buf, "%s; SMT Host state unknown\n", > + taa_strings[taa_mitigation]); Also a ':' here and not ';' thanks, greg k-h