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 23:50:22 -0000 Received: from mga04.intel.com ([192.55.52.120]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iIiCL-0005gx-ME for speck@linutronix.de; Fri, 11 Oct 2019 01:50:22 +0200 Date: Thu, 10 Oct 2019 16:44:27 -0700 From: Pawan Gupta Subject: [MODERATED] Re: [PATCH v6 3/9] TAAv6 3 Message-ID: <20191010234427.GK11840@guptapadev.amr> References: <5d9e6daa.1c69fb81.f84ad.88ceSMTPIN_ADDED_BROKEN@mx.google.com> <20191010064748.GA256999@kroah.com> MIME-Version: 1.0 In-Reply-To: <20191010064748.GA256999@kroah.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Thu, Oct 10, 2019 at 08:47:48AM +0200, speck for Greg KH wrote: > On Wed, Oct 09, 2019 at 04:24:56PM -0700, speck for Pawan Gupta wrote: > > + ret = cmdline_find_option(boot_command_line, "tsx", arg, sizeof(arg)); > > + if (ret >= 0) { > > + if (!strcmp(arg, "on")) { > > + tsx_ctrl_state = TSX_CTRL_ENABLE; > > + } else if (!strcmp(arg, "off")) { > > + tsx_ctrl_state = TSX_CTRL_DISABLE; > > + } else { > > + tsx_ctrl_state = TSX_CTRL_DISABLE; > > + pr_info("tsx: invalid option, defaulting to off\n"); > > pr_err()? Ok, will change to pr_err(). Thanks, Pawan