summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/selftests.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-05 16:19:53 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2020-06-05 17:28:42 +0200
commit684f1a1bf92e6d0406fac1007da5ceee4c6960a3 (patch)
treecc5e43eded0ab8fde68c0141e94d8898dd0f2f78 /drivers/dma-buf/selftests.h
parentdrm/i915/gem: Async GPU relocations only (diff)
downloadlinux-684f1a1bf92e6d0406fac1007da5ceee4c6960a3.tar.xz
linux-684f1a1bf92e6d0406fac1007da5ceee4c6960a3.zip
drm/i915: Fix comments mentioning typo in IS_ENABLED()
This has no code changes, but the typo is clearly getting copy/pasted, so better to avoid this now and fix the typo. IS_ENABLED() takes full names, and must have the "CONFIG_" prefix. Reported-by: Joe Perches <joe@perches.com> Link: https://lore.kernel.org/lkml/b08611018fdb6d88757c6008a5c02fa0e07b32fb.camel@perches.com Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/202006050718.9D4FCFC2E@keescook
Diffstat (limited to 'drivers/dma-buf/selftests.h')
-rw-r--r--drivers/dma-buf/selftests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/selftests.h b/drivers/dma-buf/selftests.h
index 5320386f02e5..42fc17a88b4b 100644
--- a/drivers/dma-buf/selftests.h
+++ b/drivers/dma-buf/selftests.h
@@ -5,7 +5,7 @@
* a module parameter. It must be unique and legal for a C identifier.
*
* The function should be of type int function(void). It may be conditionally
- * compiled using #if IS_ENABLED(DRM_I915_SELFTEST).
+ * compiled using #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST).
*
* Tests are executed in order by igt/dmabuf_selftest
*/