From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Ricard Subject: Re: [PATCH 05/12] tpm: Add tpm_set_vendordata and tpm_get_vendordata Date: Tue, 22 Mar 2016 17:00:46 +0100 Message-ID: <56F16C2E.2040703@gmail.com> References: <1458502483-16887-1-git-send-email-christophe-h.ricard@st.com> <1458502483-16887-6-git-send-email-christophe-h.ricard@st.com> <20160322062001.GB4058@intel.com> <20160322155824.GA25600@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160322155824.GA25600-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Jason Gunthorpe , Jarkko Sakkinen Cc: jean-luc.blanc-qxv4g6HH51o@public.gmane.org, ashley-fm2HMyfA2y6tG0bUXCXiUA@public.gmane.org, tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, christophe-h.ricard-qxv4g6HH51o@public.gmane.org, benoit.houyere-qxv4g6HH51o@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net Hi Jason, Jarkko, I think i found some way to get to it. I will share something as soon as it is ready. Best Regards Christophe On 22/03/2016 16:58, Jason Gunthorpe wrote: > On Tue, Mar 22, 2016 at 08:20:01AM +0200, Jarkko Sakkinen wrote: >> On Sun, Mar 20, 2016 at 08:34:36PM +0100, Christophe Ricard wrote: >>> Remove TPM_VPRIV macro and replace with tpm_set_vendordata and >>> tpm_get_vendordata. >> NAK. These unnecessary wrapper functions make code just harder to read. >> I'd rather accept a patch that would drop TPM_VPRIV and not introduce >> new clutter. > We should be getting pretty close to being able to use drvdata on the > chip->dev for this sort of stuff... > > Jason ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140