Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2294563pxp; Mon, 21 Mar 2022 16:08:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXBx+9Lq/wyK67UTS01ICVqCo4/bxobT7+hprvvm31+RoZWcnC6F+3vCQMho0uVSHb4LOO X-Received: by 2002:a62:f203:0:b0:4f6:f330:7e56 with SMTP id m3-20020a62f203000000b004f6f3307e56mr26328155pfh.49.1647904095007; Mon, 21 Mar 2022 16:08:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647904095; cv=none; d=google.com; s=arc-20160816; b=0FI3Vgq6YzM85u7SFKmOwo94rP4iHoclP6mPjL+SADUiMWPbwK9dC28K+mBz/Aggr8 UwGupENZWbq8EAUoG2KYN5p7Qrox2Z5gOWeSVtKuwxts2e3sllvXhI4GJce2fuErIWIh Zs4mbO5TCaRpLeNy8lvmVkYZDAQioHKURN+PyJBoO02D0pimannLkAj4GnEhTcSlt6zd aFHcaU7AZTh+B29LE1tdockWpN7v/qVYLGE6ovxxga5+BHEdqVo6j1xDROlAGYsLnN63 OCa/gzKiDYyCFtj3MLHOstgMm9h54EMF72/7IQtN8BO7b+fs8bR50aeATfnxfaHo5ike haPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ORlHxlWmjFL/HY/FYFg3LgZ4atcThx/Sd1C1b7Cl3CM=; b=g00kDzZXJ3OYqkVcXlbQFS6p8G0FR4+tA9CiNg6Hu8KeQDtCTed8O8fgIG3MvYOmcB 2gHp8XIWWzfwaE35XzRsaV3+UAE5qk3UpXjs+NyImwgJdQNpaa3lJS2GK8oIw8FHL30T BHNPWTuzrbiD/Cs0hPsGQpY0oSrNWN9a9OrLlpttIw5oKWd3n0ufMRZ8iqjuVowT3WaL lR+VUrme8doQImhj74Qw2ACKCbcJIjCwe62yxrg8gcpEPM/y2yuu7YQ4gWnxT5ibe2k+ gzznvxWIr3tV948bTJq4QCfpYbdLfR2xXYPRTR6QEYuWgVqCj+GWb1evF019mT9mEW1d bk2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RH/gyeID"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y7-20020a170902864700b00153b2d164ffsi11597007plt.263.2022.03.21.16.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:08:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RH/gyeID"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7C760420B55; Mon, 21 Mar 2022 15:06:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343731AbiCTVXZ (ORCPT + 99 others); Sun, 20 Mar 2022 17:23:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236574AbiCTVXZ (ORCPT ); Sun, 20 Mar 2022 17:23:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A058F18A3E9; Sun, 20 Mar 2022 14:22:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5FA5DB80EFA; Sun, 20 Mar 2022 21:22:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9552CC340E9; Sun, 20 Mar 2022 21:21:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647811319; bh=VCO2HOCuTBN+Xv7u6MBQ5uA0+TGwA+QA643VoWQB4s0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RH/gyeIDR4Y6vBxwoPf+bvJnNWspNNBT6gVUuJ9ByOxDzlcnQ1M4u09mnX13tV9c6 q2FQMNR7zBKXmEBj4OcDYHkQD9+QXNGC4phBUINAh4Kq2rtvmRzsDQcAehbLm2zTFZ S66yZl1SlynQdT7eBHOzO79uVIDut3UFF8vGeXrmAKHLyMZIhWNHKAnCNTR/e7eFeV +FuwOc7ufk2jvR348NiSyo2dQrWbV3wGyizX1vilR/Hd6b8ie8XpkyYI/G23x9B6r6 CcKnrUa1WLRAkGNRJ7MWVgFuTQxUwA6HrZYXC3XPfGlN8aWOtjje1HxTnhfYttgLgR IGANPRJRxzQow== Date: Sun, 20 Mar 2022 23:23:00 +0200 From: Jarkko Sakkinen To: Stefan Berger Cc: Xiu Jianfeng , mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, peterhuewe@gmx.de, jgg@ziepe.ca, nayna@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe() Message-ID: References: <20220318060201.50488-1-xiujianfeng@huawei.com> <977ccc4b-3b30-f301-aa1c-ef2aaa32cacd@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <977ccc4b-3b30-f301-aa1c-ef2aaa32cacd@linux.ibm.com> X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 09:54:46AM -0400, Stefan Berger wrote: > > > On 3/18/22 02:02, Xiu Jianfeng wrote: > > Currently it returns zero when CRQ response timed out, it should return > > an error code instead. > > > > Fixes: d8d74ea3c002 ("tpm: ibmvtpm: Wait for buffer to be set before proceeding") > > Signed-off-by: Xiu Jianfeng > > Reviewed-by: Stefan Berger Thank you, I applied this. BR, Jarkko