[PATCH] gpu: host1x: fix a kernel-doc warning

Randy Dunlap posted 1 patch 4 years, 2 months ago
include/linux/host1x.h |    1 +
1 file changed, 1 insertion(+)
[PATCH] gpu: host1x: fix a kernel-doc warning
Posted by Randy Dunlap 4 years, 2 months ago
Add @cache description to eliminate a kernel-doc warning.

include/linux/host1x.h:104: warning: Function parameter or member 'cache' not described in 'host1x_client'

Fixes: 1f39b1dfa53c ("drm/tegra: Implement buffer object cache")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thierry Reding <treding@nvidia.com>
Cc: linux-tegra@vger.kernel.org
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
---
 include/linux/host1x.h |    1 +
 1 file changed, 1 insertion(+)

--- lnx-518-rc1.orig/include/linux/host1x.h
+++ lnx-518-rc1/include/linux/host1x.h
@@ -81,6 +81,7 @@ struct host1x_client_ops {
  * @parent: pointer to parent structure
  * @usecount: reference count for this structure
  * @lock: mutex for mutually exclusive concurrency
+ * @cache: host1x buffer object cache
  */
 struct host1x_client {
 	struct list_head list;
Re: [PATCH] gpu: host1x: fix a kernel-doc warning
Posted by Thierry Reding 4 years, 2 months ago
On Sun, Apr 03, 2022 at 03:53:54PM -0700, Randy Dunlap wrote:
> Add @cache description to eliminate a kernel-doc warning.
> 
> include/linux/host1x.h:104: warning: Function parameter or member 'cache' not described in 'host1x_client'
> 
> Fixes: 1f39b1dfa53c ("drm/tegra: Implement buffer object cache")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Thierry Reding <treding@nvidia.com>
> Cc: linux-tegra@vger.kernel.org
> Cc: David Airlie <airlied@linux.ie>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: dri-devel@lists.freedesktop.org
> ---
>  include/linux/host1x.h |    1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks.

Thierry