Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2491083ybb; Sun, 12 Apr 2020 07:18:58 -0700 (PDT) X-Google-Smtp-Source: APiQypL5UGOtWQtHHB3si+MGHSF4xYrr1HZyh5JISYRYkRxnYgCBrFP88vyucrxai1+43uVHRx6U X-Received: by 2002:a37:4b56:: with SMTP id y83mr11932095qka.159.1586701138475; Sun, 12 Apr 2020 07:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586701138; cv=none; d=google.com; s=arc-20160816; b=w31iu3tl5xTQaE8vFOunHFYxdzc9HM/UHxEKqeeChc/xF8lj3h1vlHE5Xn666tBE2c nwB7MvnjIxmAGXsQlDastIXTD4KUyd5bFZ6g4m8pTQB0XImg4tL5jz1yKPhkuwUR2XAS 6ia4k45JFccKCAfNhF27Ju2Py6GE1AhVF+Y7uPo4wpG9kr4Ysm7ZxIo9QQbjTzgbG7Rh MopdnBU2XLWopo60iAzyaN2anvzERdFQavpNjVVTlqM8JPg8Fhn8foxYbZmlBDa8lkvx 5iDNNyTp6gf6W0liDtsF1b+OrPtaUQiut34P2qXnafW6W6z9ap5pR61oMsia2CnZdyQt MeGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=+Yc3CpLrX500L3nqTPOxkfi0Vz649KYOb+YclxguYT8=; b=nmjXKSO53pQygo/tTSi+xiFf8esZ8dn/eKTDMKMmXm1Wcyt6835PtSuebYKpWUdTkO V/rKVIDcHIVE+zFRTS94mBlsc8Ro8RRwxJqVJrFTg6m6aHdsUtaWb+q/vge3rtVB3th/ +sgvbCX1+SoR+9YPc99RzuLFQKAvhEg+0lMMlm91QRJbgdFHW/bveq+/Wwr5T8B77tza PSXbU8nkeRbuJDOxK0CW+gxIqQFRprn7Nz58ctlGs2hxjAMtGP9VibH2P+g+3kp4sadu PlwVffkUIi5Bo91gCGYyYtOQuvfkDaWUPqf3I63p0GkDuyHB8NxbKe909RVgZztuvb9/ qdcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u44si4389848qtb.5.2020.04.12.07.18.43; Sun, 12 Apr 2020 07:18:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727015AbgDLOSJ (ORCPT + 99 others); Sun, 12 Apr 2020 10:18:09 -0400 Received: from mga04.intel.com ([192.55.52.120]:51403 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgDLOSJ (ORCPT ); Sun, 12 Apr 2020 10:18:09 -0400 IronPort-SDR: iq0G3H6TTZ2qbTBDcjKoJE4FgnSnKWPrxFHtt5vh7NzzBAhGVkKFngeWSYigp+Jr7qcX7P6yzK gLCH48Vux04A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2020 07:18:04 -0700 IronPort-SDR: BnEmlzSQ0yaLFn713ppG64HJ3Tn8i35NOeDaqWcY6rLMjAKliBwnLtoYKCiIk4UQPl9SRnfuGU 8+HtasicDgPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,374,1580803200"; d="scan'208";a="243337498" Received: from apresura-mobl.ger.corp.intel.com (HELO localhost) ([10.252.61.246]) by fmsmga007.fm.intel.com with ESMTP; 12 Apr 2020 07:18:03 -0700 Date: Sun, 12 Apr 2020 17:18:02 +0300 From: Jarkko Sakkinen To: Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-integrity@vger.kernel.org, Nikita Sobolev , Tadeusz Struk , open list Subject: Re: [PATCH] selftests/tpm: Fix runtime error Message-ID: <20200412141802.GA70976@linux.intel.com> References: <20200412141118.70688-1-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200412141118.70688-1-jarkko.sakkinen@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 12, 2020 at 05:11:17PM +0300, Jarkko Sakkinen wrote: > There is some random clutter in test_smoke.sh: > > ./test_smoke.sh: line 3: self.flags: command not found > > Remove it. > > Fixes: b32694cd0724 ("Kernel selftests: tpm2: check for tpm support") > Cc: Nikita Sobolev > Signed-off-by: Jarkko Sakkinen Instead we should apply a revert to the original patch and Nikita could refine it. Have additional questions e.g. why the constant is declared instead of just exit 4? The commit message long description also fails to document any sane reasoning for anything. It is not enough to response the reasoning to me here. It needs to be in the commit log. This is terrible. It is obvious there has not been any kind of sane review process in place. /Jarkko