[PATCH] dma-buf: Add debugfs support

Dave Airlie airlied at gmail.com
Wed Dec 19 17:26:27 PST 2012


On Fri, Dec 14, 2012 at 7:36 PM,  <sumit.semwal at ti.com> wrote:
> From: Sumit Semwal <sumit.semwal at linaro.org>
>
> Add debugfs support to make it easier to print debug information
> about the dma-buf buffers.
>

I like thie idea,

/home/airlied/devel/kernel/drm-2.6/drivers/base/dma-buf.c: In function
‘dma_buf_describe’:
/home/airlied/devel/kernel/drm-2.6/drivers/base/dma-buf.c:563:5:
warning: format ‘%d’ expects argument of type ‘int’, but argument 6
has type ‘long int’ [-Wformat]
/home/airlied/devel/kernel/drm-2.6/drivers/base/dma-buf.c: At top level:
/home/airlied/devel/kernel/drm-2.6/drivers/base/dma-buf.c:528:123:
warning: ‘dma_buf_init’ defined but not used [-Wunused-function]

not sure my compiler does though.

Dave.


More information about the dri-devel mailing list