summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2023-01-17 21:50:09 +0100
committerMarge Bot <emma+marge@anholt.net>2023-01-25 08:09:13 +0000
commit3ed75027b74614fa929fe6d03577d53799a136ac (patch)
treee845172a0f2c440c089ffc722c1422300b617065 /include
parentbd8e8d204db32c9a1b05d3748221171504f94167 (diff)
downloadmesa-3ed75027b74614fa929fe6d03577d53799a136ac.tar.gz
drm-uapi/dma-buf.h: use __u32/__u64 types
Otherwise we might get build errors: https://gitlab.freedesktop.org/mesa/mesa/-/jobs/34886940 Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20728>
Diffstat (limited to 'include')
-rw-r--r--include/drm-uapi/dma-buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm-uapi/dma-buf.h b/include/drm-uapi/dma-buf.h
index 60ca66f8329..37c448e2bcb 100644
--- a/include/drm-uapi/dma-buf.h
+++ b/include/drm-uapi/dma-buf.h
@@ -192,8 +192,8 @@ struct dma_buf_import_sync_file {
* between them in actual uapi, they're just different numbers.
*/
#define DMA_BUF_SET_NAME _IOW(DMA_BUF_BASE, 1, const char *)
-#define DMA_BUF_SET_NAME_A _IOW(DMA_BUF_BASE, 1, u32)
-#define DMA_BUF_SET_NAME_B _IOW(DMA_BUF_BASE, 1, u64)
+#define DMA_BUF_SET_NAME_A _IOW(DMA_BUF_BASE, 1, __u32)
+#define DMA_BUF_SET_NAME_B _IOW(DMA_BUF_BASE, 1, __u64)
#define DMA_BUF_IOCTL_EXPORT_SYNC_FILE _IOWR(DMA_BUF_BASE, 2, struct dma_buf_export_sync_file)
#define DMA_BUF_IOCTL_IMPORT_SYNC_FILE _IOW(DMA_BUF_BASE, 3, struct dma_buf_import_sync_file)