summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Delgass <ldelgass@users.sourceforge.net>2003-03-31 04:14:35 +0000
committerLeif Delgass <ldelgass@users.sourceforge.net>2003-03-31 04:14:35 +0000
commit8e51112fe06cc92a7e4d415c897d53008a935554 (patch)
tree0725ec3a6e95f31d65ebb6e4a7debb235253b510
parent8926acac37025cd89dae2308c566c778fa1cc406 (diff)
Warning fix (use %p format for filp)
-rw-r--r--linux-core/drm_dma.c2
-rw-r--r--linux/drm_dma.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index d21c8b9d..4ea6b07d 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -445,7 +445,7 @@ static int DRM(dma_get_buffers_of_order)(struct file *filp, drm_dma_t *d,
d->flags & _DRM_DMA_WAIT);
if (!buf) break;
if (buf->pending || buf->waiting) {
- DRM_ERROR("Free buffer %d in use by %x (w%d, p%d)\n",
+ DRM_ERROR("Free buffer %d in use: filp %p (w%d, p%d)\n",
buf->idx,
buf->filp,
buf->waiting,
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index d21c8b9d..4ea6b07d 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -445,7 +445,7 @@ static int DRM(dma_get_buffers_of_order)(struct file *filp, drm_dma_t *d,
d->flags & _DRM_DMA_WAIT);
if (!buf) break;
if (buf->pending || buf->waiting) {
- DRM_ERROR("Free buffer %d in use by %x (w%d, p%d)\n",
+ DRM_ERROR("Free buffer %d in use: filp %p (w%d, p%d)\n",
buf->idx,
buf->filp,
buf->waiting,