From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Wzi6oycK" Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A9F910DF; Thu, 30 Nov 2023 05:26:22 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40b4d9e81deso7919995e9.0; Thu, 30 Nov 2023 05:26:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701350780; x=1701955580; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kMjMwDQeJ7U3HaJX4ZxhNthwT8vrdAeuzz7BaoFMnjY=; b=Wzi6oycK8AbGYZApwENpA4V2KBfFsz2IPvnI5RF+k4pqws5qm75nZN4VYtjPW2gWGh 12iN5Vly27BfBBNMUGPxJQ9et8qeok8Npo9vFQkuT5Ioms9AKOyeVyk2bFxG1dyz6XPT QGbKWaXRKqrMNlMjPltxJJZfbOT0GKK2j2CTgxCNJQgrnWSpV1TlBG/5JHZ8xITabsPX ZPEmEmKOdaDCGSbtr99SPKuG+x45De+Eo9rHHByllicn7Te9Xm/TsbOYT+tLFIQP/9xU Ioh8MfJ6zmLuh+kpQPUb8f/5dKFQ89R3pg3/txw2KdZU0Ria27hWo/qvXsF3lLam9lqd Pzyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701350780; x=1701955580; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kMjMwDQeJ7U3HaJX4ZxhNthwT8vrdAeuzz7BaoFMnjY=; b=wVmcu5imVzF8BBd4U6CciTZqDv3P7vVcmtR6H+nKU7LXcXVlGnq5d9qvvWJmN/+QnW ks3vWgIB1I6R/3Rayv9Y4FhxbrGxhMQe9QC2jrbZSuwIwGKPXe/HCcr8On/xQu3APvyJ d2PVcbPhh8BecYu/bNygQv2kmxhCElDNKyCCKc0Mucub3p73B0eVXkSgzzSqGpof0q8Y gIIMFtrQj00JxoMcEbnqXx4jxyvYi/LZNsBUYS6eNxNOU51MryeGEF80bBVZoH1khy2l MQUhjJHu8GRb5T7Pamt+JrGODq5DhowwKcU6Eo4Lf0cct1CpFW8U98a2z1pj22XP4sn+ pVxg== X-Gm-Message-State: AOJu0YzRERyI2oXP2MyZuCkqRIrk+JEPI3daMIhB3eCbzsFA6+ZvRjga xC65p+boGRBS7tssqWDvEn8= X-Google-Smtp-Source: AGHT+IF4VK2RMM99vHoNOTjMS8JYwZng9oa3EJPG40jI+yusE7jKXL9SAsLKU4Q7PP0rLS8URV59NA== X-Received: by 2002:a05:600c:a04:b0:40b:47f0:66b5 with SMTP id z4-20020a05600c0a0400b0040b47f066b5mr8748485wmp.26.1701350780275; Thu, 30 Nov 2023 05:26:20 -0800 (PST) Received: from [10.254.108.81] (munvpn.amd.com. [165.204.72.6]) by smtp.gmail.com with ESMTPSA id v9-20020a05600c470900b004063cd8105csm5706905wmo.22.2023.11.30.05.26.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 05:26:19 -0800 (PST) Message-ID: <1e10c821-1981-4c9c-8243-dc4592bf9102@gmail.com> Date: Thu, 30 Nov 2023 14:26:18 +0100 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Linaro-mm-sig] Re: [PATCH] dma-buf: Correct the documentation of name and exp_name symbols Content-Language: en-US To: Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Ramesh Errabolu , amd-gfx@lists.freedesktop.org, sumit.semwal@linaro.org, linux-media@vger.kernel.org References: <20231122160556.24948-1-Ramesh.Errabolu@amd.com> From: =?UTF-8?Q?Christian_K=C3=B6nig?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 29.11.23 um 22:18 schrieb Alex Deucher: > On Wed, Nov 22, 2023 at 1:58 PM Christian König > 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 >> Reviewed-by: Christian König > 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