From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: "Alex Deucher" <alexdeucher@gmail.com>,
"Christian König" <christian.koenig@amd.com>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linaro-mm-sig@lists.linaro.org,
Ramesh Errabolu <Ramesh.Errabolu@amd.com>,
amd-gfx@lists.freedesktop.org, sumit.semwal@linaro.org,
linux-media@vger.kernel.org
Subject: Re: [Linaro-mm-sig] Re: [PATCH] dma-buf: Correct the documentation of name and exp_name symbols
Date: Thu, 30 Nov 2023 14:26:18 +0100 [thread overview]
Message-ID: <1e10c821-1981-4c9c-8243-dc4592bf9102@gmail.com> (raw)
In-Reply-To: <CADnq5_OJbURbVzXVypohp7gCjE+ckHkEnDD67H7KTDJZt_e3HA@mail.gmail.com>
Am 29.11.23 um 22:18 schrieb Alex Deucher:
> On Wed, Nov 22, 2023 at 1:58 PM Christian König
> <christian.koenig@amd.com> wrote:
>> Am 22.11.23 um 17:05 schrieb Ramesh Errabolu:
>>> Fix the documentation of struct dma_buf members name and exp_name
>>> as to how these members are to be used and accessed.
>>>
>>> Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
>> Reviewed-by: Christian König <christian.koenig@amd.com>
> Please apply this to drm-misc.
Done, thanks for the reminder.
Christian.
>
> Alex
>
>>> ---
>>> include/linux/dma-buf.h | 11 +++++++----
>>> 1 file changed, 7 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
>>> index 3f31baa3293f..8ff4add71f88 100644
>>> --- a/include/linux/dma-buf.h
>>> +++ b/include/linux/dma-buf.h
>>> @@ -343,16 +343,19 @@ struct dma_buf {
>>> /**
>>> * @exp_name:
>>> *
>>> - * Name of the exporter; useful for debugging. See the
>>> - * DMA_BUF_SET_NAME IOCTL.
>>> + * Name of the exporter; useful for debugging. Must not be NULL
>>> */
>>> const char *exp_name;
>>>
>>> /**
>>> * @name:
>>> *
>>> - * Userspace-provided name; useful for accounting and debugging,
>>> - * protected by dma_resv_lock() on @resv and @name_lock for read access.
>>> + * Userspace-provided name. Default value is NULL. If not NULL,
>>> + * length cannot be longer than DMA_BUF_NAME_LEN, including NIL
>>> + * char. Useful for accounting and debugging. Read/Write accesses
>>> + * are protected by @name_lock
>>> + *
>>> + * See the IOCTLs DMA_BUF_SET_NAME or DMA_BUF_SET_NAME_A/B
>>> */
>>> const char *name;
>>>
>> _______________________________________________
>> Linaro-mm-sig mailing list -- linaro-mm-sig@lists.linaro.org
>> To unsubscribe send an email to linaro-mm-sig-leave@lists.linaro.org
prev parent reply other threads:[~2023-11-30 13:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 16:05 [PATCH] dma-buf: Correct the documentation of name and exp_name symbols Ramesh Errabolu
2023-11-22 18:58 ` Christian König
2023-11-29 21:18 ` [Linaro-mm-sig] " Alex Deucher
2023-11-30 13:26 ` Christian König [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e10c821-1981-4c9c-8243-dc4592bf9102@gmail.com \
--to=ckoenig.leichtzumerken@gmail.com \
--cc=Ramesh.Errabolu@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=sumit.semwal@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox