Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1002008ybn; Wed, 2 Oct 2019 09:22:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyg9HMM3749HgLWa/RRGrPBWkEPPGCZGJQ6EL/KyDVDqahFzr0ZqrTY5IDdCq2QKvkYLxUN X-Received: by 2002:a50:cc4d:: with SMTP id n13mr4732017edi.5.1570033363886; Wed, 02 Oct 2019 09:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570033363; cv=none; d=google.com; s=arc-20160816; b=fGz51Zg/6TE6N8BOdOATlFWuOcftWtE6NfafswMuuNYCIRH6nHUD9p0gCSR2YA3N8u 3BsvHuzLyZH1ctcwv7kdUQZf+bt5eVArQslOpjH4R+yfoeeYhGOPOF1h3VydCXdaWtSg NCqh68/T4tVhxfT63hl0Eh+XSKcrkYZgG3I8hcRfxqQC+gTK+AjK5meFjyQcBV0lYiXT Fack7zcyyhEy/0oN9cLicMLrmuAsiu4BADcUAK/XQl9BGu1+zTThH6O4auS0CqLZqQGO fftTrtvQ+y+jBU5Bvx2hNsZKX1aqvZpXXb8w7+UPmJ8+GLBYuX4dIaikY6GaURn0iVxh 9AdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AF6ICp5pMJTO5IIGLISprcfM72Z5T4FMqcpypJNCaW8=; b=hFDax2g4m9sFoEzBRmWXK007bgAcBvHvTfWyID5B+rlrAVfgTmVhOgxmUrKXQya5Y6 23WahtVM5Ku4N86h+OcS90qnkgAvhkjHzLzUV26gYWK3HLfGa/UPvdzISoC+tscdEZsV w+IkEz4qoJm2gYYWX4SMiRIjuQ1xsN0DFgJpVfit0H5tEi1uA3ths3ileam8cdrL8o4h ClQYSOK00D2KM+WwISLCO6KM+VcOkT60SIg/GiPZDz0W8QNOWP0mKm4RmDIfnP2D/edE V8LvnYC9jkCFEa39S30UahRFosE7FVwc6ymVcNXvlpuKk6ytNQ1aaFoSx6+UM8SvBUWf WAYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pj82qvCr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si12192338edc.386.2019.10.02.09.22.18; Wed, 02 Oct 2019 09:22:43 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Pj82qvCr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728412AbfJBQO5 (ORCPT + 99 others); Wed, 2 Oct 2019 12:14:57 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36760 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727425AbfJBQO4 (ORCPT ); Wed, 2 Oct 2019 12:14:56 -0400 Received: by mail-wm1-f68.google.com with SMTP id m18so7606046wmc.1 for ; Wed, 02 Oct 2019 09:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AF6ICp5pMJTO5IIGLISprcfM72Z5T4FMqcpypJNCaW8=; b=Pj82qvCr7yhwECurupIzOoiaPefmUaVaC77k5jM4n7NCxzRScPppT9N1NBsdU/0Bdc STDIX+l5ImCzPn+UzMQW61dxl2ckrirh0K/Fws6uPFz0F6d35CCynDjpwknaa3Wtvbgv PufiV13RcwmUCc97d76tTngXyMP0qoZyBT9Odk5R77qCB97i7IgJcm2Lk0BGbCumFZYJ 0ThNeAlzrPoMASS7xtr4Q5ifJUprzKxzvFuXD2I6TB1p0c20DKAlYQnpKoa95pwlfuKW gEq7T75KwQ1dh/Nicx5ICfGYEykJvJlRQZZeV8agAbJpBZIpbA0sLa8GUWp9QdJ1URfn qxrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AF6ICp5pMJTO5IIGLISprcfM72Z5T4FMqcpypJNCaW8=; b=mJrEUHo7EWy6hR1xcBhqki3rqjXrlqEffeiWKL+/cIbv9+em9wE5CE+Mv96Lhp08Hj 86cZKESTUmRtWDaWtFTQKrIPVXCGPCgvAMtOL5JRRrqMivqtIFqESNr2h2HmxvOOmN+D GnsqSUKR4MthhQpdZJFHvrOYz33V/HP5R6OGCXYun5TuG7zc3nEZczpim07g+h4WnR0+ pU/cKVAQctQ4eMcXavvanFkiwvneDmKGyaopRJ6nQsJSMveXq+T2KQYoLKyZ0kVu5Y3D 0D9kEMGk7y3lkEdmyG5BN0yPs3mDopjkuAIuAcGZWU4ds1b5Ww+G/yX8dOk9UK9zSUPI hDNg== X-Gm-Message-State: APjAAAUA4MV195OCwuZT761PC3/hSOCv0gP9tXmefP+txz/dqB4mN1Nw KX23zp09WPUtoYggoa+B0SxwH0uuTJcU5Df+69mlMQ== X-Received: by 2002:a1c:c189:: with SMTP id r131mr3614749wmf.153.1570032894414; Wed, 02 Oct 2019 09:14:54 -0700 (PDT) MIME-Version: 1.0 References: <20190906184712.91980-1-john.stultz@linaro.org> <20190930032651.8264-1-hdanton@sina.com> In-Reply-To: <20190930032651.8264-1-hdanton@sina.com> From: John Stultz Date: Wed, 2 Oct 2019 09:14:42 -0700 Message-ID: Subject: Re: [RESEND][PATCH v8 1/5] dma-buf: Add dma-buf heaps framework To: Hillf Danton Cc: lkml , "Andrew F . Davis" , Laura Abbott , Benjamin Gaignard , Sumit Semwal , Liam Mark , Pratik Patel , Brian Starkey , Vincent Donnefort , Sudipto Paul , Christoph Hellwig , Chenbo Feng , Alistair Strachan , Hridya Valsaraju , dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 29, 2019 at 8:27 PM Hillf Danton wrote: > On Fri, 6 Sep 2019 18:47:08 +0000 John Stultz wrote: > > +/** > > + * dma_heap_get_data() - get per-heap driver data > > + * @heap: DMA-Heap to retrieve private data for > > + * > > + * Returns: > > + * The per-heap data for the heap. > > + */ > > +void *dma_heap_get_data(struct dma_heap *heap); > > + > > It will help readers more than thought understand this framework > if s/get_data/get_drvdata/ Sounds good! Thanks for the review and suggestion! -john