Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2645430imj; Mon, 11 Feb 2019 06:24:19 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ+NhCu1D81zaqcf1Qqa87qkcTupSSwP1YQ58beBlUphg8E8f2+T7z0F6SN3h3GTxtXd1NQ X-Received: by 2002:a17:902:bcc2:: with SMTP id o2mr21559349pls.69.1549895059089; Mon, 11 Feb 2019 06:24:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895059; cv=none; d=google.com; s=arc-20160816; b=PVXQ/SW9iTsgcB24tCOf5NhwmMCStHOqpO7tyWHOD2GxHGZsNdT9enDPM4lHVyPHgO jq3ijOf5kMDrZdpHmtoCdPhkgFcxkd5kW4ga+u2aXaXE8CfAMO6rc3h8SYBlTSqSWOg3 va3XGXOJX0kt0JvJBJcfOCWrzywe2E0X9nD4V0LkK6o5bxr50YA2frpdYHc0z25bZJvo 4GiPQaRu2cA/fzUVktLVf/MgweG1ZGJrfNjfj6n0kMJIrn9ZgmQ4DI31dYIGn+vL6RD9 1fIYXov6REPuJRhby59Nq40Iyi9pOeW1WLWRBRdzokhXyJYouL7816E3fYJWhEyVGSkl RqPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date; bh=KpR8rOSaxyGKgFLx6X+OuHyNrsDuthEcOKzaHPDHN9I=; b=fXHgQE5rS3IVZkjo489laCL8BjtiHEUz14szHOI9WYBorE8b6Ff2hyOGTmCwh9sx/J leKF/wFYjA4DDSiRYvjufR+yUrxgQh93zeTZsuEuygv+5MBdSuFAQvd8uWrRpUFtkNwb M3Sf0moYlnGVzBIzmsFT9vcZfvYL61z9qni4OeBAzXh1/LFtEul0IgqgTTRLdlgERpIB fEYlD+XdahkSIdF4yz5TuVLs7hWTT7emfg+9xEQAOhnswleipv7OLE1iRF9TP1R7VGS5 KfRzcNJLzbv8hrLZHG2UT4lv98vHIvp/ixZwtV3JYN6nBprEbXdNE+675WUni+jTpmeV lcwA== 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 e8si9586062pgn.325.2019.02.11.06.23.29; Mon, 11 Feb 2019 06:24:19 -0800 (PST) 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 S1727971AbfBKN6v (ORCPT + 99 others); Mon, 11 Feb 2019 08:58:51 -0500 Received: from mga02.intel.com ([134.134.136.20]:21618 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfBKN6u (ORCPT ); Mon, 11 Feb 2019 08:58:50 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Feb 2019 05:58:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,358,1544515200"; d="scan'208";a="121534427" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.142]) by fmsmga007.fm.intel.com with ESMTP; 11 Feb 2019 05:58:47 -0800 Date: Mon, 11 Feb 2019 15:58:46 +0200 From: Jarkko Sakkinen To: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Peter Huewe , Jason Gunthorpe , Stefan Berger , Alexander Steffen , stable@vger.kernel.org Subject: Re: [PATCH v4 1/2] tpm: Unify the send callback behaviour Message-ID: <20190211135846.GA8431@linux.intel.com> References: <20190208180857.12330-1-jarkko.sakkinen@linux.intel.com> <20190208180857.12330-2-jarkko.sakkinen@linux.intel.com> <20190209182022.zghnna3fa3a3x3w7@cantor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190209182022.zghnna3fa3a3x3w7@cantor> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 09, 2019 at 11:20:22AM -0700, Jerry Snitselaar wrote: > Does st33zp24_i2c_send need an update as well? It does 'return > write8_reg()'. After these commits the only situation when st33zp24_i2c_send() return value is returned back to the user space, when called from st33zp24_send(), is when it returns -errno. /Jarkko