2016-04-14 14:35:37

by Robert Foss

[permalink] [raw]
Subject: [PATCH] include/drm: Reword debug categories comment.

From: Robert Foss <[email protected]>

The debug category comment mentions 4 categories, but
more than 4 categories are listed. Let's change the
wording to something a bit more generic.

Signed-off-by: Robert Foss <[email protected]>
---
include/drm/drmP.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 3c8422c..5de4cff0 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -90,7 +90,7 @@ struct reservation_object;
struct dma_buf_attachment;

/*
- * 4 debug categories are defined:
+ * The following categories are defined:
*
* CORE: Used in the generic drm code: drm_ioctl.c, drm_mm.c, drm_memory.c, ...
* This is the category used by the DRM_DEBUG() macro.
--
2.5.0


2016-04-14 14:52:34

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] include/drm: Reword debug categories comment.

On Thu, Apr 14, 2016 at 10:34:16AM -0400, [email protected] wrote:
> From: Robert Foss <[email protected]>
>
> The debug category comment mentions 4 categories, but
> more than 4 categories are listed. Let's change the
> wording to something a bit more generic.
>
> Signed-off-by: Robert Foss <[email protected]>

Applied to drm-misc, thanks.
-Daniel

> ---
> include/drm/drmP.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/drmP.h b/include/drm/drmP.h
> index 3c8422c..5de4cff0 100644
> --- a/include/drm/drmP.h
> +++ b/include/drm/drmP.h
> @@ -90,7 +90,7 @@ struct reservation_object;
> struct dma_buf_attachment;
>
> /*
> - * 4 debug categories are defined:
> + * The following categories are defined:
> *
> * CORE: Used in the generic drm code: drm_ioctl.c, drm_mm.c, drm_memory.c, ...
> * This is the category used by the DRM_DEBUG() macro.
> --
> 2.5.0
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch