Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp423508yba; Wed, 3 Apr 2019 11:21:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+UGciSHtH0+zlGMdmtk9hHcWRPl8SwibpYGufEz4tEpVEOP+S8tJVKvNLWxdX49Yjo/UM X-Received: by 2002:a62:a515:: with SMTP id v21mr913665pfm.41.1554315668467; Wed, 03 Apr 2019 11:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554315668; cv=none; d=google.com; s=arc-20160816; b=U48dw0oT2/4v7MEOb+SloagFPNs87vanb416FC6++YVw1Wq1IoVaBv47DvH+W/YmIN jNeFRwNMCqQaCCEhFXrokSQIWvYcdGelod59ahuLgsoZhau6UWRnHG3QClm4G8awmFZx d7ft0T+dbqUIm2gqOS8lVorwOm8gizoDGwE8yFC+pgh3t6cu6QjIowGBXKTDvyPT63C6 vo2pqwh6jJJWoC/5NBIPnSD7I2teYqfyZ/vCMGlkCqSludBzRtBRgJ4SCJ3Upj1S3dsg btx7fe4gZZbontuBF7vvSiM1HXVxhAZE/jUisOlZlokOmsJKMJriA/EjkRc5N0mI9fP7 HDmQ== 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:cc :to:from:date; bh=eCOceGQLkiYMjpcJK1BAFopvouV+9iytvbqa+M18RKk=; b=CgXkuFGUjXqSe6XjHt+Zbfzf3YRlFoPlPm3O58OQMA72+tYHWlWlkMf0swMMzonD1X Nhj5qfSH5iLHVgvFYIqDRMxzrD5ZDy0OWkLbxLYEISoOkOUijRZ6GBQYko9G9i5OU3l+ ZRT4sLkLDCr/nxTOp43ym6k/TgrR68J1wxk2DCFXIB//gUe9fDcKKsWTV4qQ8x+Z2TJe jhFogM2aN7+85cL2Xes5tIWLPlaQhJh1co8EYroy0THQQWdm9oJlrJgpXpI1DdXvINWu H32jHpKYoxH25LmlHtGKC6RsSXmVkRNx8XQ++cUYI/WIW0AG78Q5GOImY3ks1aU7MCTK 9GYw== 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 u19si9431607pga.100.2019.04.03.11.20.51; Wed, 03 Apr 2019 11:21:08 -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 S1726706AbfDCSTn (ORCPT + 99 others); Wed, 3 Apr 2019 14:19:43 -0400 Received: from mga09.intel.com ([134.134.136.24]:53714 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726151AbfDCSTm (ORCPT ); Wed, 3 Apr 2019 14:19:42 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2019 11:19:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,305,1549958400"; d="scan'208";a="131198429" Received: from oakcakay-mobl2.ger.corp.intel.com (HELO localhost) ([10.249.254.144]) by orsmga008.jf.intel.com with ESMTP; 03 Apr 2019 11:19:37 -0700 Date: Wed, 3 Apr 2019 21:19:36 +0300 From: Jarkko Sakkinen To: Stephen Hemminger Cc: Sasha Levin , robh+dt@kernel.org, mark.rutland@arm.com, peterhuewe@gmx.de, jgg@ziepe.ca, Microsoft Linux Kernel List , "Bryan Kelly (CSI)" , Thirupathaiah Annapureddy , Sudhakar Evuri , arnd@arndb.de, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org Subject: Re: [PATCH 2/2] ftpm: firmware TPM running in TEE Message-ID: <20190403181936.GC17006@linux.intel.com> References: <20190402193316.15144-1-sashal@kernel.org> <20190402193316.15144-2-sashal@kernel.org> <20190402135643.02443863@shemminger-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190402135643.02443863@shemminger-XPS-13-9360> 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 Tue, Apr 02, 2019 at 01:56:43PM -0700, Stephen Hemminger wrote: > On Tue, 2 Apr 2019 12:33:16 -0700 > "Sasha Levin" wrote: > > > +/* > > + * ftpm_tee_tpm_op_recv retrieve fTPM response. > > + * @param: chip, the tpm_chip description as specified in > > driver/char/tpm/tpm.h. > > + * @param: buf, the buffer to store data. > > + * @param: count, the number of bytes to read. > > + * @return: In case of success the number of bytes received. > > + * In other case, a < 0 value describing the issue. > > + */ > > You are using a docbook style comment but it doesn't start with > docbook prefix. > > /** > * ftpm_tee_tpm_op_recv retrieve fTPM response. > * > * @param: chip, the tpm_chip description as specified in driver/char/tpm/tpm.h. > * @param: buf, the buffer to store data. > * @param: count, the number of bytes to read. > * @return: In case of success the number of bytes received. > * In other case, a < 0 value describing the issue. > */ This is different commenting style that we use on anything else under drivers/char/tpm. /Jarkko