From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: ioctl API for vTPM driver Date: Mon, 7 Mar 2016 13:32:06 -0700 Message-ID: <20160307203206.GA4303@obsidianresearch.com> References: <20160306120537.GA22702@intel.com> <20160306121103.GA23480@intel.com> <20160306122816.GA24077@intel.com> <201603070040.u270eq7U019952@d01av03.pok.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <201603070040.u270eq7U019952-CUdSWdNILC7ImUpY6SP3GEEOCMrvLtNR@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Stefan Berger Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On Sun, Mar 06, 2016 at 07:40:40PM -0500, Stefan Berger wrote: > If you have suggestions or comments, let me know. > I adjusted the code to reflect the ENOSYS (previously EINVAL) in case > of unsupported flags or unsupported ioctls. Please don't use ENOSYS, the desire is that is only used by systemcalls. Jason ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval