Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbdCQS5o (ORCPT ); Fri, 17 Mar 2017 14:57:44 -0400 Received: from smtp2.infineon.com ([217.10.52.18]:33123 "EHLO smtp2.infineon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759AbdCQS4o (ORCPT ); Fri, 17 Mar 2017 14:56:44 -0400 X-SBRS: None From: To: , CC: , , , , Subject: RE: [tpmdd-devel] [PATCH v3 4/7] tpm: infrastructure for TPM spaces Thread-Topic: [tpmdd-devel] [PATCH v3 4/7] tpm: infrastructure for TPM spaces Thread-Index: AQHSlDGvGasfykYn90KL5Kchk8Ywx6GZGqLQ Date: Fri, 17 Mar 2017 15:41:38 +0000 Message-ID: <1aa1c9d32fd446f69551a36c37f0ed16@MUCSE603.infineon.com> References: <20170303151912.14752-1-jarkko.sakkinen@linux.intel.com> <20170303151912.14752-5-jarkko.sakkinen@linux.intel.com> In-Reply-To: <20170303151912.14752-5-jarkko.sakkinen@linux.intel.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.23.8.247] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v2HIw0Xs027606 Content-Length: 799 Lines: 18 > diff --git a/drivers/char/tpm/tpm-interface.c b/drivers/char/tpm/tpm- > interface.c > index 20b1fe3..db5ffe9 100644 > --- a/drivers/char/tpm/tpm-interface.c > +++ b/drivers/char/tpm/tpm-interface.c > @@ -376,11 +376,12 @@ static bool tpm_validate_command(struct > tpm_chip *chip, const u8 *cmd, > * 0 when the operation is successful. > * A negative number for system errors (errno). > */ > -ssize_t tpm_transmit(struct tpm_chip *chip, const u8 *buf, size_t bufsiz, > - unsigned int flags) > +ssize_t tpm_transmit(struct tpm_chip *chip, struct tpm_space *space, > + u8 *buf, size_t bufsiz, unsigned int flags) When adding parameters, please also update the parameter documentation at the top of the function. It is missing for the new parameter "space" here. Alexander