mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 08:38:23 +02:00
warning fix
This commit is contained in:
parent
73adb5e130
commit
905d2f4760
1 changed files with 2 additions and 1 deletions
|
|
@ -214,7 +214,8 @@ int DRM(freelist_put)(drm_device_t *dev, drm_freelist_t *bl, drm_buf_t *buf)
|
|||
atomic_inc(&bl->count);
|
||||
if (atomic_read(&bl->count) > dma->buf_count) {
|
||||
DRM_ERROR("%ld of %d buffers free after addition of %d\n",
|
||||
atomic_read(&bl->count), dma->buf_count, buf->idx);
|
||||
(unsigned long)atomic_read(&bl->count),
|
||||
dma->buf_count, buf->idx);
|
||||
return 1;
|
||||
}
|
||||
/* Check for high water mark */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue