From a22548fec06faba738a2d59b45b54704e4757685 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 16 Feb 2015 11:17:11 +0000 Subject: lib: small documentation fixes Signed-off-by: Thomas Wood --- lib/ioctl_wrappers.c | 2 +- lib/ioctl_wrappers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c index 288ab8d7..cd6884ad 100644 --- a/lib/ioctl_wrappers.c +++ b/lib/ioctl_wrappers.c @@ -645,7 +645,7 @@ int __gem_context_destroy(int fd, uint32_t ctx_id) } /** - * gem_context_create: + * gem_context_destroy: * @fd: open i915 drm file descriptor * @ctx_id: i915 hw context id * diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index ea9f5598..7c0c87e0 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -74,7 +74,7 @@ void *gem_mmap__wc(int fd, uint32_t handle, int offset, int size, int prot); * the gtt) write-combine memory mappings are available. Automatically skips * through igt_require() if not. */ -#define gem_require_mmap_wc(x) igt_require(gem_mmap__has_wc(x)) +#define gem_require_mmap_wc(fd) igt_require(gem_mmap__has_wc(fd)) /** * gem_mmap: -- cgit v1.2.3